Commit Graph

1750 Commits

Author SHA1 Message Date
Alex Gleason a8b5888e6d
pipeline: get nip05 domain correctly 2024-03-20 13:20:12 -05:00
Alex Gleason 84784cd46b Merge branch 'nip50-domain' into 'main'
NIP-50 domain search

See merge request soapbox-pub/ditto!117
2024-03-20 17:57:46 +00:00
Alex Gleason b2bc46ac57
Removed DittoFilter usages I missed earlier 2024-03-20 12:01:38 -05:00
Alex Gleason dcd0728b19
EventsDB: fix domain test 2024-03-20 11:56:30 -05:00
Alex Gleason ad2261a37e
Move accountLookup function into a separate module (to prevent circular dependencies) 2024-03-20 11:55:21 -05:00
Alex Gleason c8b378ad10
Remove DittoFilter, use search instead of local 2024-03-20 11:34:04 -05:00
Alex Gleason d17d4c846f
EventsDB: allow searching by domain 2024-03-19 22:53:06 -05:00
Alex Gleason 245cb43771
EventsDB: parse nip50 extensions 2024-03-19 22:46:54 -05:00
Alex Gleason e2cc6132be
Track pubkey domains 2024-03-19 17:45:19 -05:00
Alex Gleason d9056f66c6
SearchStore: switch to nspec NRelay1 2024-03-17 15:44:49 -05:00
Alex Gleason 10e2f0db9a
Bump Deno to v1.41.3 2024-03-17 15:41:10 -05:00
Alex Gleason 2a0cba55e6
streamingController: allow to connect without authorization 2024-03-16 16:44:25 -05:00
Alex Gleason 648c32986b
pipeline: remove awkward registerUser flow 2024-03-16 15:07:45 -05:00
Alex Gleason 04cdbd11c9
purifyEvent: function signature 2024-03-16 13:19:39 -05:00
Alex Gleason 09369a0122
hydrateEvent -> purifyEvent (it sounds cooler) 2024-03-16 13:19:11 -05:00
Alex Gleason 0df4ac7331
pipeline: let the people post 2024-03-16 13:16:35 -05:00
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