Commit Graph

19 Commits

Author SHA1 Message Date
Alex Gleason 3d1d56355d
Update scripts for async db 2024-05-14 18:51:35 -05:00
Alex Gleason 87264eeef1
Remove `relays` table from the database, track them with a NIP-65 admin event 2024-05-01 19:15:20 -05:00
Alex Gleason cbf1e8f280
Add admin:role CLI task 2024-04-23 18:13:18 -05:00
Alex Gleason b73b964fda
Add a better admin:event script 2024-04-23 17:32:24 -05:00
P. Reis 494193020e refactor/docs: include nsec script in README and generate nsec directly 2024-03-30 18:09:37 -03:00
P. Reis 99b22ab726 refactor: nsec script 2024-03-30 17:25:41 -03:00
P. Reis 90e110b1fd feat: script to generate an nsec
This fixes: https://gitlab.com/soapbox-pub/ditto/-/issues/85
2024-03-30 16:49:05 -03:00
Alex Gleason 59d53c4a2f
Add APISigner and AdminSigner classes, implement NostrSigner interface 2024-02-12 11:52:05 -06:00
Alex Gleason e847c86ff3
Delete unused scripts/db.ts 2024-01-24 11:43:32 -06:00
Alex Gleason 5b24b7ad39
Pass Request signal down from API controllers 2024-01-23 15:58:59 -06:00
Alex Gleason c6062874bd
Implement NStore interface from NLib 2024-01-23 14:06:51 -06:00
Alex Gleason e16e81da86
Add a CLI task to publish events as the Ditto admin 2024-01-15 12:40:39 -06:00
Alex Gleason 937ae1eab6
Refactor EventStore to use a more Set-like interface 2024-01-08 15:18:01 -06:00
Alex Gleason b3e4b79439
Delete db/events.ts, db/memorelay.ts, move to @/storages.ts 2024-01-03 21:56:41 -06:00
Alex Gleason 358396fdac
Drop users table 2023-12-29 17:01:23 -06:00
Alex Gleason 13bf936088
Convert users to Events 2023-12-29 16:37:18 -06:00
Alex Gleason 862ff74d7b
relays: don't automatically add crawled relays 2023-12-10 17:56:51 -06:00
Alex Gleason 19901eb828
scripts/relays: fix import 2023-08-19 15:07:57 -05:00
Alex Gleason e3ade42f58
Added script to populate relays from external source 2023-08-14 18:46:35 -05:00