Commit Graph

1123 Commits

Author SHA1 Message Date
Alex Gleason 7eaa652ae9
Fix EventsDB tests 2024-03-02 21:46:23 -06:00
Alex Gleason 2972cb4b6d
Add event stats indexes 2024-03-02 21:20:43 -06:00
Alex Gleason e4f53b3936
Soft-delete events 2024-03-02 21:11:45 -06:00
Alex Gleason 96b5ecc435
Fix dropIndex calls 2024-03-02 19:23:28 -06:00
Alex Gleason 19adb3ab44
Use composite index for tags 2024-03-02 19:21:48 -06:00
Alex Gleason 9c4301e791
getConfigs: wrap in try-catch 2024-03-02 18:08:37 -06:00
Alex Gleason dffa70e2fe
Add missing index on kind-pubkey-created_at 2024-03-02 17:57:43 -06:00
Alex Gleason ad59c24f77
docs: add debugging SQLite information 2024-03-02 17:53:43 -06:00
Alex Gleason dc57415df3
SqliteWorker: log amount of time each query takes 2024-03-02 17:40:29 -06:00
Alex Gleason d83bd463b9
Add installation doc 2024-03-01 19:40:41 -06:00
Alex Gleason c24e1f42a6
Make Pleroma config more resilient to corrupted events 2024-02-22 11:39:11 -06:00
Alex Gleason 40c7f8b093
Downgrade Deno to v1.40.4 in GitLab CI 2024-02-21 18:28:20 -06:00
Alex Gleason a04109298e
Upgrade Deno to v1.40.5 2024-02-21 18:17:51 -06:00
Alex Gleason f853801461
EventsDB: index 1985 label tags 2024-02-21 15:51:48 -06:00
Alex Gleason 641d2872d8
Actually, revert anything Alby would sign to nip04 since Alby doesn't support nip44 yet 2024-02-21 14:50:26 -06:00
Alex Gleason 37e55b4e18 Merge branch 'nip44' into 'main'
Switch all nip04 calls to nip44

See merge request soapbox-pub/ditto!114
2024-02-21 20:41:30 +00:00
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