Commit Graph

907 Commits

Author SHA1 Message Date
Alex Gleason d5d642b10b
Switch all nip04 calls to nip44 2024-02-21 14:39:05 -06:00
Alex Gleason 893484cbcc
docs: tweak kind 3036 example 2024-02-21 14:29:47 -06:00
Alex Gleason 480ed69601
Add document about Mastodon API, not sure if it's helpful 2024-02-19 18:19:45 -06:00
Alex Gleason b62d52f156
docs: change the way 30360 events will be handled 2024-02-19 16:02:26 -06:00
Alex Gleason be3f1104db
getAndRenderAccount: render account from pubkey if not found 2024-02-19 14:20:00 -06:00
Alex Gleason fe6dd01b68
Add ditto.is_registered property to Account 2024-02-18 10:41:18 -06:00
Alex Gleason 7a38cfbc40
Remove Sentry from SqliteWorker
It seems to be destroying CPU performance?
2024-02-17 14:34:38 -06:00
Alex Gleason 491c3f5125
Catch client.query calls 2024-02-14 15:25:25 -06:00
Alex Gleason 8d6f8e7d8d
Add npub to Account entity 2024-02-13 20:23:33 -06:00
Alex Gleason ca31341e04
Fix double await 2024-02-12 13:43:03 -06:00
Alex Gleason 3de63834f2 Merge branch 'admin-crypto' into 'main'
Remove crypo.ts, call AdminSigner instead

See merge request soapbox-pub/ditto!113
2024-02-12 18:55:59 +00:00
Alex Gleason 2b9b005250
Remove nip04 from deps.ts 2024-02-12 12:03:19 -06:00
Alex Gleason 5961b28c36
Remove crypo.ts, call AdminSigner instead 2024-02-12 12:01:35 -06:00
Alex Gleason d60bf9cbcc Merge branch 'api-signer' into 'main'
APISigner, AdminSigner, implement NostrSigner interface

See merge request soapbox-pub/ditto!112
2024-02-12 17:56:02 +00:00
Alex Gleason 59d53c4a2f
Add APISigner and AdminSigner classes, implement NostrSigner interface 2024-02-12 11:52:05 -06:00
Alex Gleason 1e3f637358
verifySignatureWorker -> verifyEventWorker 2024-02-12 11:42:25 -06:00
Alex Gleason dbff3fee9a
Upgrade nostr-tools to v2.1.5 2024-02-12 11:40:17 -06:00
Alex Gleason 4a423b94ca Merge branch 'nspec-count' into 'main'
Upgrade NSpec, update `count` interface

See merge request soapbox-pub/ditto!111
2024-02-12 16:51:04 +00:00
Alex Gleason cb80770fc7
Upgrade NSpec, update `count` interface 2024-02-12 10:48:26 -06:00
Alex Gleason 676bd04229
Switch to my fork of nostr-relaypool 2024-02-02 16:49:47 -06:00
Alex Gleason e9d29075eb
pipeline: catch error on broadcast 2024-02-02 14:51:22 -06:00
Alex Gleason 7b7cd8b15c
autoReconnect!! 2024-02-02 14:49:27 -06:00
Alex Gleason ae6c0e712b
NLib -> NSpec 2024-02-01 14:42:45 -06:00
Alex Gleason 828aeec6dc Merge branch 'deno-v1.40.2' into 'main'
Upgrade Deno to v1.40.2

See merge request soapbox-pub/ditto!110
2024-01-31 22:48:46 +00:00
Alex Gleason 427d75751a
assert -> with 2024-01-31 16:45:50 -06:00
Alex Gleason 45e76812dc
Upgrade Deno to v1.40.2 2024-01-31 16:43:14 -06:00
Alex Gleason ebaeb03b74 Merge branch 'stickynotes' into 'main'
Switch debug-js to stickynotes

See merge request soapbox-pub/ditto!109
2024-01-31 22:32:47 +00:00
Alex Gleason 62e227a181
Switch debug-js to stickynotes 2024-01-31 16:24:09 -06:00
Alex Gleason 7a8fb1ba6e
Upgrade LRUCache and NLib 2024-01-25 15:48:05 -06:00
Alex Gleason 57e9534552
Zaps: dehydrate event before passing into LNURL callback 2024-01-24 15:47:19 -06:00
Alex Gleason b4735d1dd3
cleanEvent -> dehydrateEvent 2024-01-24 15:46:45 -06:00
Alex Gleason e847c86ff3
Delete unused scripts/db.ts 2024-01-24 11:43:32 -06:00
Alex Gleason 40f75f681b Merge branch 'rm-memorelay' into 'main'
Get rid of unnecessary memorelay module, replace with NCache

See merge request soapbox-pub/ditto!108
2024-01-23 23:53:10 +00:00
Alex Gleason 0fc8143889
Get rid of unnecessary memorelay module, replace with NCache 2024-01-23 17:50:33 -06:00
Alex Gleason 2369030ff0
Upgrade NLib, remove unnecessary generics 2024-01-23 17:18:44 -06:00
Alex Gleason ea8df5b791 Merge branch 'api-signal' into 'main'
Pass Request signal down from API controllers

See merge request soapbox-pub/ditto!107
2024-01-23 22:02:32 +00:00
Alex Gleason 5b24b7ad39
Pass Request signal down from API controllers 2024-01-23 15:58:59 -06:00
Alex Gleason 152c52427a Merge branch 'nstore' into 'main'
Implement NStore interface from NLib

See merge request soapbox-pub/ditto!106
2024-01-23 20:42:10 +00:00
Alex Gleason 77f2e2d940
pipeline: pass signals all the way down 2024-01-23 14:35:35 -06:00
Alex Gleason c6062874bd
Implement NStore interface from NLib 2024-01-23 14:06:51 -06:00
Alex Gleason 0a58233b4e Merge branch 'interfaces' into 'main'
Add new DittoEvent and DittoFilter interfaces

See merge request soapbox-pub/ditto!105
2024-01-23 18:39:33 +00:00
Alex Gleason 67a52c3b7d
Clean event before publishing 2024-01-23 12:15:48 -06:00
Alex Gleason 0b6874bb44
EventsDB: normalize the event to only NIP-01 event properties 2024-01-23 12:12:34 -06:00
Alex Gleason aaf01462c1
Update code to use new DittoEvent and DittoFilter. Event -> NostrEvent 2024-01-23 12:07:22 -06:00
Alex Gleason f58c2098f0
Add DittoEvent and DittoFilter dedicated interface modules 2024-01-23 11:17:31 -06:00
Alex Gleason 789ce80990 Merge branch 'rm-userdata' into 'main'
Remove UserData type, hydrate the event instead

See merge request soapbox-pub/ditto!104
2024-01-23 16:59:07 +00:00
Alex Gleason b971b5274d
Remove UserData type, hydrate the event instead 2024-01-23 10:56:17 -06:00
Alex Gleason 6ef76af0ca Merge branch 'zaps' into 'main'
Zaps

See merge request soapbox-pub/ditto!102
2024-01-23 01:07:37 +00:00
Alex Gleason 240b7d6a14
Index P tag of zap receipts 2024-01-22 15:39:02 -06:00
Alex Gleason 8494bd5f67
pipeline: pass signal down to everything that accepts it 2024-01-22 14:31:52 -06:00