Commit Graph

884 Commits

Author SHA1 Message Date
Alex Gleason a4772c27f8 Update auth.md 2024-03-15 05:18:26 +00:00
Alex Gleason b5dd3d5f5b Update auth.md 2024-03-15 05:16:40 +00:00
Alex Gleason b8c376326c
Add Authentication doc 2024-03-14 23:50:04 -05:00
Alex Gleason 3c8b5be783
pipeline: fix hydrateEvent 2024-03-12 17:09:22 -05:00
Alex Gleason b867f6c33c
accounts: nostr.npub -> nostr.pubkey 2024-03-12 16:32:43 -05:00
Alex Gleason 45e1762b50
pipeline: handle registrations 2024-03-12 16:10:19 -05:00
Alex Gleason 0bcf81e438
Use nostr-wasm 2024-03-12 14:36:10 -05:00
Alex Gleason e1e71be8ea Merge branch 'timelines-hydrate' into 'main'
Timelines hydrate

Closes #79

See merge request soapbox-pub/ditto!116
2024-03-06 19:02:54 +00:00
Alex Gleason 8b9566d79b
Remove relations filters, switch some stuff to use optimizer (requires bravery) 2024-03-06 12:55:02 -06:00
Alex Gleason 1499f9b417
Try hydrating timelines in a separate query instead of using relations 2024-03-05 14:26:38 -06:00
Alex Gleason 07d7b3868d Merge branch 'sqlite-perf' into 'main'
SQLite performance improvements

See merge request soapbox-pub/ditto!115
2024-03-03 03:49:31 +00:00
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