Commit Graph

80 Commits

Author SHA1 Message Date
Alex Gleason 6e09e6f9e5
Fix NIP-05 cache 2023-05-07 11:44:22 -05:00
Alex Gleason af9f376ad0
Verify NIP05's with cache, fixes #1 2023-05-06 22:29:41 -05:00
Alex Gleason f567acb58f
Cache rich media cards for 12 hours 2023-05-06 20:30:11 -05:00
Alex Gleason 78b1c24ee0
card: sane defaults 2023-05-06 20:09:33 -05:00
Alex Gleason b6ce22cfaf
Unfurl card in link previews 2023-05-06 19:58:41 -05:00
Alex Gleason 2fff0ed879
First pass linkifying status content and rendering attachments 2023-05-06 15:17:50 -05:00
Alex Gleason 3d5ea61250
Upgrade Deno to v1.33.2 2023-05-06 10:06:23 -05:00
Alex Gleason f780bcbd8f
deno.json: add json schema 2023-05-03 22:46:23 -05:00
Alex Gleason 0c71b5a696
Try Deno's experimental KV as a cache 2023-05-03 22:15:18 -05:00
Alex Gleason eb0e9094a4
deno.json: update rules config 2023-05-03 21:59:40 -05:00
Alex Gleason 7e792c2264
Upgrade to Deno v1.33.1 2023-05-03 21:58:39 -05:00
Alex Gleason 36cc20eae4
deno.json: switch to flat config for fmt 2023-05-03 21:57:44 -05:00
Alex Gleason 9539eb5055
Try to make relationshipsController reflect following 2023-05-03 21:56:22 -05:00
Alex Gleason 192ee7f76d
Make getFilter return a pure event object instead of the class from nostr-relaypool 2023-05-03 21:54:22 -05:00
Alex Gleason 6775f68606
Enable deno unstable 2023-05-03 21:54:07 -05:00
Alex Gleason e3dca47241
Extend getFollows timeout 2023-05-03 21:53:36 -05:00
Alex Gleason 3880fdd61c
accountStatusesController: sort results by timestamp 2023-05-03 15:33:54 -05:00
Alex Gleason 502af2cd48
Return first page of statuses in profile 2023-05-03 15:22:24 -05:00
Alex Gleason 6fa897145e
Include source property on own account 2023-05-02 13:58:45 -05:00
Alex Gleason e93fcdc643
Add default banner to account 2023-04-30 23:31:30 -05:00
Alex Gleason 8b3eab80b3
Add email field to /api/v1/instance 2023-04-30 23:27:29 -05:00
Alex Gleason 0a12bbb42f
Refactor client code, hope for the best 2023-04-30 20:21:55 -05:00
Alex Gleason 7bb8821b1b
Escape HTML fields 2023-04-30 16:07:07 -05:00
Alex Gleason d7805ae65b
Add logger middleware 2023-04-30 15:16:33 -05:00
Alex Gleason cb8e78ab59
Add landing page 2023-04-30 14:51:56 -05:00
Alex Gleason 610ce4444a
api --> controllers/api 2023-04-30 14:45:30 -05:00
Alex Gleason 2554379cef
api/home.ts --> api/timelines.ts 2023-04-30 14:16:30 -05:00
Alex Gleason e26b540246
OAuth token endpoint: support formData 2023-04-30 14:13:27 -05:00
Alex Gleason 81357fa1e3
Make OAuth form mostly work 2023-04-30 13:28:49 -05:00
Alex Gleason d860ef7f98
Apps: get the redirect_uri into the app 2023-04-30 12:41:01 -05:00
Alex Gleason 9734d0a961
lint 2023-04-29 21:57:30 -05:00
Alex Gleason 693c7cc7bf
Sign events from app context 2023-04-29 21:48:22 -05:00
Alex Gleason 1ba822abaa
Add Markers fallback controller 2023-04-29 21:14:00 -05:00
Alex Gleason 780b3aeb01
Enable Link header in CORS 2023-04-29 21:07:59 -05:00
Alex Gleason 26cf528fca
Use findReplyTag from Mostr 2023-04-29 20:33:52 -05:00
Alex Gleason b42d1f3564
Make threads work, sorta 2023-04-29 20:23:51 -05:00
Alex Gleason f1333cb131
Deduplicate mentions 2023-04-29 19:27:13 -05:00
Alex Gleason a48ee148ae
Fix in_reply_to for root 2023-04-29 19:01:24 -05:00
Alex Gleason 586f20b23d
Improve NIP-05 display in mentions 2023-04-29 18:59:40 -05:00
Alex Gleason 4962f31296
Fix in_reply_to for legacy clients 2023-04-29 18:02:24 -05:00
Alex Gleason acabc7c4ad
Add dummy relationships endpoint 2023-04-29 17:59:54 -05:00
Alex Gleason 64102699ac
Perform NIP-05 lookups 2023-04-29 17:49:03 -05:00
Alex Gleason d84e593e53
Add GET /api/v1/statuses/:id 2023-04-29 17:26:56 -05:00
Alex Gleason f87a17e609
Remove unused code 2023-04-29 17:20:51 -05:00
Alex Gleason dabc3b7e3a
Remove unused imports 2023-04-29 17:07:26 -05:00
Alex Gleason 693b200562
Fix import 2023-04-29 16:39:11 -05:00
Alex Gleason 07e072bc48
Narrow pubkey paths with regex 2023-04-29 16:35:44 -05:00
Alex Gleason 70f69b80f3
Add account search controller, which does basically the same thing as account lookup for now 2023-04-29 16:28:53 -05:00
Alex Gleason 9e73a8e43c
Add account lookup endpoint 2023-04-29 16:25:07 -05:00
Alex Gleason 5118aaf46c
Rename some client functions 2023-04-29 15:54:21 -05:00