Commit Graph

76 Commits

Author SHA1 Message Date
Alex Gleason 083496943a
debug: don't log http requests for /packs etc 2023-12-27 21:57:10 -06:00
Alex Gleason baf51230ba
debug: hono logger 2023-12-27 20:57:20 -06:00
Alex Gleason 86daef416f
Cache trending tags (with code copied from Mostr) 2023-12-04 13:19:20 -06:00
Alex Gleason f4e334b5ff
Require POW on signup 2023-11-20 19:57:47 -06:00
Alex Gleason a15e28e48f
Add Sentry hono middleware 2023-10-05 20:04:27 -05:00
Alex Gleason 62ac9bffa3
accounts: set nip05 during update_credentials 2023-09-11 18:44:44 -05:00
Alex Gleason a44fb4c84f
Use default avatar and banner from repo, instead of linking out to image 2023-09-11 15:36:09 -05:00
Alex Gleason 10a804b60e
Remove POW requirement for now 2023-09-11 05:57:50 -05:00
Alex Gleason bacb872a18
Add /api not implemented controller 2023-09-11 04:55:15 -05:00
Alex Gleason a5bf09ed2b
Resolve any file in public/ 2023-09-11 04:14:08 -05:00
Alex Gleason 4310bb7157
Add a CSP 2023-09-11 04:04:55 -05:00
Alex Gleason 8a9f8454bf
Serve a frontend through Ditto 2023-09-11 00:19:56 -05:00
Alex Gleason 75dd2652d2
app: remove unused account search fallback endpoint 2023-09-10 19:42:41 -05:00
Alex Gleason e3f11545b7
/api/v1/acccounts --> /api/v1/accounts 2023-09-10 19:23:50 -05:00
Alex Gleason 607ef4b980
Make POW configurable, expose over the API 2023-09-10 15:38:49 -05:00
Alex Gleason 052c00821d
Enable registrations, require proof-of-work 2023-09-10 15:07:31 -05:00
Alex Gleason 527e276340
Fix nip98 signing (validate proof), skip validating payload for media requests 2023-09-08 18:22:38 -05:00
Alex Gleason 969d8bfe7f
Add media endpoints, require nip98 proof to upload them 2023-09-08 17:00:07 -05:00
Alex Gleason 5d19c21f51
cron: delete old remote events every hour 2023-09-04 19:46:39 -05:00
Alex Gleason 7686371183
Implement frontend configurations 2023-09-03 18:49:45 -05:00
Alex Gleason 4ff27ddc04
Add /api/v1/favourites 2023-09-01 13:14:27 -05:00
Alex Gleason 9b67d7a7c0
Add followers/following endpoints
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/69
2023-08-30 10:27:45 -05:00
Alex Gleason b27b84e3fb
Add favourited_by and reblogged_by controllers 2023-08-29 18:08:00 -05:00
Alex Gleason ce4a330812
Rename timeline controllers, homeController --> homeTimelineController, etc 2023-08-29 12:41:14 -05:00
Alex Gleason ccb8c534ca
Add hashtag timeline 2023-08-28 19:51:21 -05:00
Alex Gleason 2029c73eab
requireAuth --> requirePubkey 2023-08-28 15:38:32 -05:00
Alex Gleason dfbad6b2e7
Add boilerplate notifications controller, fix import order in app.ts 2023-08-28 14:23:27 -05:00
Alex Gleason e8a7dfef2b
Remove uneeded session ID from auth token 2023-08-28 13:00:00 -05:00
Alex Gleason c08c801e71
Make following work 2023-08-19 13:37:44 -05:00
Alex Gleason c15194020f
Delete event.ts, use nostr-tools types 2023-08-16 21:53:51 -05:00
Alex Gleason 1b8bb78717
Rename loopback to firehose 2023-08-14 11:02:09 -05:00
Alex Gleason 808e8941b6
Relay: make REQ work (doesn't stream yet) 2023-08-12 13:40:21 -05:00
Alex Gleason 819ae61bca
Add actorController 2023-07-27 10:36:19 -05:00
Alex Gleason 1d67181e52
Add trends controller... and it kind of works! 2023-07-25 17:07:09 -05:00
Alex Gleason 11f21e3922
Improve TrendsDB, add loopback script, almost ready to do something? 2023-07-25 15:30:58 -05:00
Alex Gleason 8fa6ac0a4c
Add nodeinfo 2023-07-09 20:32:45 -05:00
Alex Gleason 19d7d1ae52
Move host-meta to its own file 2023-07-09 18:50:47 -05:00
Alex Gleason cf78b721f5
Implement Webfinger 2023-07-09 16:08:49 -05:00
Alex Gleason 0e15e174c5
Add nostr.json (NIP-05) 2023-07-09 12:55:37 -05:00
Alex Gleason d7d5057617
Support nip98 auth 2023-07-08 18:41:11 -05:00
Alex Gleason bdf8e9a61d
Return an error for POST /api/v1/accounts 2023-07-08 11:20:10 -05:00
Alex Gleason d4eef9c2af
Add public timeline, fix limit param 2023-07-07 15:07:59 -05:00
Alex Gleason 860b653892
Allow users to update their profile 2023-06-11 14:41:16 -05:00
Alex Gleason 009747105d
Add boilerplate frontend_configurations controller 2023-06-10 23:10:27 -05:00
Alex Gleason 3ffad1df29
Build a websocket topics framework 2023-05-20 19:39:05 -05:00
Alex Gleason 02160f8c9e
credentialsController --> verifyCredentialsController 2023-05-20 14:44:18 -05:00
Alex Gleason f3e42cc6a7
Add a UUID to auth tokens for private websocket event signing 2023-05-20 14:34:13 -05:00
Alex Gleason 8ba456a100
streaming: establish WebSocket connection 2023-05-13 17:41:21 -05:00
Alex Gleason a766449ba6
Let searchController look up accounts 2023-05-13 14:45:13 -05:00
Alex Gleason 017a34d5d4
Stub out missing Elk endpoints 2023-05-13 14:27:49 -05:00