Commit Graph

354 Commits

Author SHA1 Message Date
Alex Gleason 9500ceee7c
Upgrade nostr-tools, fix BECH_32_REGEX imports 2023-05-20 12:28:12 -05:00
Alex Gleason 91bc0549c7
sign: 504 --> 408 2023-05-13 21:25:43 -05:00
Alex Gleason c14ebe6631
sign: only add stream if nostr=true on the user stream (still subject to change) 2023-05-13 21:05:55 -05:00
Alex Gleason ce02f7d56c
Update streaming comments 2023-05-13 20:16:44 -05:00
Alex Gleason 9ff5e7c738
Websocket signing kind of works!! 2023-05-13 19:48:08 -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
Alex Gleason ab1bb3854a
Return empty array for public timeline 2023-05-12 16:27:52 -05:00
Alex Gleason 45807e29de
Fix login with Elk 2023-05-12 16:17:02 -05:00
Alex Gleason cfa7498feb
Upgrade unfurl, fixes crashing 2023-05-12 16:12:35 -05:00
Alex Gleason 837a3ae1dd
Support custom emojis in statuses 2023-05-11 23:49:32 -05:00
Alex Gleason d109043440
Fix /api/v1/accounts/lookup nip05 2023-05-11 23:39:25 -05:00
Alex Gleason a21ad4caec
Support custom emojis in usernames 2023-05-11 23:39:10 -05:00
Alex Gleason 1ba46dd7a3
Truncate npub username 2023-05-11 22:34:56 -05:00
Alex Gleason ef5bfb79f0
buildInlineRecipients: delete extra space when there are no inline mentions 2023-05-11 20:12:05 -05:00
Alex Gleason 7820f88859
timelines: bail early if there are no events 2023-05-11 20:11:00 -05:00
Alex Gleason af5420222b
Add recepients-inline for better Mastodon compatibility 2023-05-08 18:19:45 +02:00
Alex Gleason 8d021865c6
Don't log nip05 cache 2023-05-07 16:59:36 -05:00
Alex Gleason 1271e36f7e
Throw a user-friendly error when a private key isn't provided 2023-05-07 15:43:38 -05:00
Alex Gleason 8f65939f1c
OAuth form improvements, support NIP-07 2023-05-07 15:29:27 -05:00
Alex Gleason 5f296bcad1
Improve vscode settings 2023-05-07 14:23:46 -05:00
Alex Gleason d825f9d7cb
Yo dawg I heard u like pools 2023-05-07 12:59:55 -05:00
Alex Gleason 4993b4ca52
Support favourites 2023-05-07 12:32:24 -05:00
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