Commit Graph

17 Commits

Author SHA1 Message Date
Alex Gleason
83e51ad67e lodash -> entities 2024-05-21 12:21:35 -05:00
Alex Gleason
3b0739f187 Add a getClientConnectUri function, add "Nostr Connect" link in the OAuth form 2024-05-12 13:12:46 -05:00
Alex Gleason
928ae4ec22 oauthController: calculate the script hash on the fly so we can edit it 2024-05-12 10:56:27 -05:00
Alex Gleason
0bb4ccf5c9 Move nostr-tools to an import alias 2024-04-30 18:43:53 -05:00
Alex Gleason
0f9cc9fe51 zod import alias 2024-04-23 15:03:20 -05:00
Alex Gleason
43359f787b web.ts -> api.ts 2024-01-01 17:03:32 -06:00
Alex Gleason
b32eaca17d deno fmt 2023-12-17 11:03:40 -06:00
Alex Gleason
e6d1494a10 streaming: make user stream mostly work, in a kind of hacky way 2023-08-28 13:34:15 -05:00
Alex Gleason
e8a7dfef2b Remove uneeded session ID from auth token 2023-08-28 13:00:00 -05:00
Alex Gleason
23928c0024 Move hono-related functions until utils/web 2023-08-19 14:05:08 -05:00
Alex Gleason
cc751f03a7 Refactor to use nostrDate() and nostrNow() 2023-07-08 15:04:50 -05:00
Alex Gleason
74024e36b6 Support OAuth 'client_credentials' grant type, improve Mastodon API compat 2023-05-24 11:19:02 -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
9500ceee7c Upgrade nostr-tools, fix BECH_32_REGEX imports 2023-05-20 12:28:12 -05:00
Alex Gleason
45807e29de Fix login with Elk 2023-05-12 16:17:02 -05:00
Alex Gleason
8f65939f1c OAuth form improvements, support NIP-07 2023-05-07 15:29:27 -05:00
Alex Gleason
610ce4444a api --> controllers/api 2023-04-30 14:45:30 -05:00