Alex Gleason
|
43359f787b
|
web.ts -> api.ts
|
2024-01-01 17:03:32 -06:00 |
Alex Gleason
|
2fc9988c06
|
reqmeister: middleware/cache, reqmeister, nip05, unfurl, refactor some code
|
2023-12-27 20:07:13 -06:00 |
Alex Gleason
|
86daef416f
|
Cache trending tags (with code copied from Mostr)
|
2023-12-04 13:19:20 -06:00 |
Alex Gleason
|
c1bf326981
|
c.req.headers.get --> c.req.header, hono deprecation
|
2023-11-20 12:39:20 -06:00 |
Alex Gleason
|
6868f39719
|
NIP-46: request target proof-of-work difficulty when signing events
|
2023-11-20 12:34:19 -06:00 |
Alex Gleason
|
62ac9bffa3
|
accounts: set nip05 during update_credentials
|
2023-09-11 18:44:44 -05:00 |
Alex Gleason
|
737c9f0364
|
csp: load any media over https, not just local media
|
2023-09-11 15:16:26 -05:00 |
Alex Gleason
|
9cda8e3000
|
csp: use template literals to avoid escaping single quotes
|
2023-09-11 04:07:54 -05:00 |
Alex Gleason
|
4310bb7157
|
Add a CSP
|
2023-09-11 04:04:55 -05:00 |
Alex Gleason
|
0adb6f5eba
|
Add messages to HTTPException's
|
2023-09-10 19:43:07 -05:00 |
Alex Gleason
|
052c00821d
|
Enable registrations, require proof-of-work
|
2023-09-10 15:07:31 -05:00 |
Alex Gleason
|
dcc9d05ee5
|
auth98: fix nsec flow
|
2023-09-08 18:29:26 -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
|
b81091f5da
|
auth98: requireProof --> requireAdmin
|
2023-09-02 20:52:17 -05:00 |
Alex Gleason
|
7595dfa2e5
|
auth98: make requireProof obtain the event over NIP-46
|
2023-09-02 19:33:13 -05:00 |
Alex Gleason
|
61f5acc937
|
nip98: add a dedicated nip98 module, refactor auth98.ts
|
2023-09-02 18:32:01 -05:00 |
Alex Gleason
|
2029c73eab
|
requireAuth --> requirePubkey
|
2023-08-28 15:38:32 -05:00 |
Alex Gleason
|
e8a7dfef2b
|
Remove uneeded session ID from auth token
|
2023-08-28 13:00:00 -05:00 |
Alex Gleason
|
c15194020f
|
Delete event.ts, use nostr-tools types
|
2023-08-16 21:53:51 -05:00 |
Alex Gleason
|
893542cf58
|
Reorganize some nostr schema code
|
2023-08-12 11:30:57 -05:00 |
Alex Gleason
|
be6aa89c39
|
Rename Conf.url() to Conf.local(), replace it with a URL of localDomain
|
2023-07-09 18:26:33 -05:00 |
Alex Gleason
|
215ff85b6d
|
Add Conf.url() function for producing local absolute URLs
|
2023-07-09 14:23:02 -05:00 |
Alex Gleason
|
d7d5057617
|
Support nip98 auth
|
2023-07-08 18:41:11 -05:00 |
Alex Gleason
|
3ffad1df29
|
Build a websocket topics framework
|
2023-05-20 19:39:05 -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
|
8c48b9f625
|
Add nip19 auth middleware
|
2023-04-29 15:22:10 -05:00 |