Commit Graph

36 Commits

Author SHA1 Message Date
Alex Gleason 595fb2cfc6
eventMatchesTemplate: let the event timestamp be greater than the template 2023-11-20 21:20:14 -06:00
Alex Gleason e55ddbd8e6
eventMatchesTemplate: drop `nonce` tags before comparison 2023-11-20 19:57:57 -06:00
Alex Gleason fe08aaa2a3
db/events: use stricter tagConditions to not pollute the database 2023-09-09 15:29:17 -05:00
Alex Gleason c8a5da086e
sign: ensure the NIP-46 result matches the template 2023-09-02 20:09:28 -05:00
Alex Gleason 61f5acc937
nip98: add a dedicated nip98 module, refactor auth98.ts 2023-09-02 18:32:01 -05:00
Alex Gleason 4c41ce8c0a
@/nip05.ts --> @/utils/nip05.ts 2023-09-02 13:43:01 -05:00
Alex Gleason 675010ddec
search: fix FTS special characters, optimize search 2023-08-30 14:03:16 -05: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 2e8b26cf4f
Remove legacy stream.ts module 2023-08-27 10:07:13 -05:00
Alex Gleason 63def1d62c
utils: add return types (to improve readability) 2023-08-26 12:58:17 -05:00
Alex Gleason 7570b0dee4
utils: new Date().getTime() --> Date.now() 2023-08-26 12:56:07 -05:00
Alex Gleason 23928c0024
Move hono-related functions until utils/web 2023-08-19 14:05:08 -05:00
Alex Gleason c08c801e71
Make following work 2023-08-19 13:37:44 -05:00
Alex Gleason 870a6f5261
Add queries module for getting events for certain application needs 2023-08-17 13:12:38 -05:00
Alex Gleason c15194020f
Delete event.ts, use nostr-tools types 2023-08-16 21:53:51 -05:00
Alex Gleason e3ade42f58
Added script to populate relays from external source 2023-08-14 18:46:35 -05:00
Alex Gleason 78f638e633
Add relays to database and start tracking them 2023-08-14 14:11:28 -05:00
Alex Gleason 819ae61bca
Add actorController 2023-07-27 10:36:19 -05:00
Alex Gleason cbb294dbc2
Trends: support `limit` param 2023-07-25 17:44:38 -05:00
Alex Gleason 4e68e3868f
Prevent cyclical import of Time module 2023-07-08 20:01:10 -05:00
Alex Gleason d7d5057617
Support nip98 auth 2023-07-08 18:41:11 -05:00
Alex Gleason c80a9e5d9a
paginationSchema: fix problem with nostrNow() being called only at startup 2023-07-08 15:21:28 -05:00
Alex Gleason cc751f03a7
Refactor to use nostrDate() and nostrNow() 2023-07-08 15:04:50 -05:00
Alex Gleason d4eef9c2af
Add public timeline, fix limit param 2023-07-07 15:07:59 -05:00
Alex Gleason b5643c4aba
Refactor config to use a better interface 2023-06-10 17:15:08 -05:00
Alex Gleason 8a62cb604d
Support pagination on user profile 2023-06-09 19:22:38 -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 a766449ba6
Let searchController look up accounts 2023-05-13 14:45:13 -05:00
Alex Gleason e26b540246
OAuth token endpoint: support formData 2023-04-30 14:13:27 -05:00
Alex Gleason 586f20b23d
Improve NIP-05 display in mentions 2023-04-29 18:59:40 -05:00
Alex Gleason 9e73a8e43c
Add account lookup endpoint 2023-04-29 16:25:07 -05:00
Alex Gleason 6341987088
Delete src/nostr directory 2023-04-29 15:51:54 -05:00
Alex Gleason 53655f99bf
We do a little refactoring 2023-04-10 19:34:00 -05:00
Alex Gleason 1d6ebf6ba6
Support pagination with Link headers... but of course Soapbox doesn't do that 2023-03-18 17:47:34 -05:00
Alex Gleason 2acfecc1eb
Allow posting a status to Nostr 2023-03-04 23:26:25 -06:00