Alex Gleason
|
5f82f4f11b
|
client: use the same pool as the firehose
|
2023-09-06 01:18:07 -05:00 |
Alex Gleason
|
17c75e6761
|
Move pool to a separate module (to avoid importing firehose in tests)
|
2023-09-05 22:00:32 -05:00 |
Alex Gleason
|
f2ccb5254e
|
cron: run cleanupEvents on startup
|
2023-09-05 21:52:16 -05:00 |
Alex Gleason
|
a69b7f54f8
|
pipeline: broadcast deletions to all known relays
|
2023-09-05 21:45:30 -05:00 |
Alex Gleason
|
e2b88d57d9
|
pipeline: process kind 5 deletion events
|
2023-09-05 21:24:59 -05:00 |
Alex Gleason
|
22ddc7b1a8
|
pipeline: remove unnecessary async keyword from trackHashtags
|
2023-09-05 20:35:58 -05:00 |
Alex Gleason
|
48195f02b3
|
pipeline: don't store event if a deletion for it exists
|
2023-09-05 20:31:34 -05:00 |
Alex Gleason
|
97a3478b1a
|
cron: change cleanupEvents to every 15 minutes
|
2023-09-05 17:48:50 -05:00 |
Alex Gleason
|
a46381849f
|
db/events: delete FTS rows when deleting events
|
2023-09-05 17:25:54 -05:00 |
Alex Gleason
|
a25d6c9755
|
db: pragma, enable fk constraints, enable autovacuum full
|
2023-09-05 17:25:14 -05:00 |
Alex Gleason
|
02049ed9d1
|
pipeline: fix isFresh comparison
|
2023-09-05 17:10:20 -05:00 |
Alex Gleason
|
5c02fd0773
|
db/relays: normalize url before inserting
|
2023-09-05 16:58:34 -05:00 |
Alex Gleason
|
2ff40c8fc5
|
db/events: rework tags, make event_id a FK to events again, drop value_2 and value_3
|
2023-09-05 16:55:16 -05:00 |
Alex Gleason
|
4708839fd6
|
db: improve output of migrations, exit on failure
|
2023-09-05 16:05:02 -05:00 |
Alex Gleason
|
cdffe42cfd
|
db/events: delete tags during deleteFilters
|
2023-09-05 13:23:45 -05:00 |
Alex Gleason
|
df17f62ecb
|
db/events: try fixing types in CI?
|
2023-09-05 12:31:59 -05:00 |
Alex Gleason
|
aea07fd28a
|
db/events: fix type error
|
2023-09-04 22:16:43 -05:00 |
Alex Gleason
|
5d19c21f51
|
cron: delete old remote events every hour
|
2023-09-04 19:46:39 -05:00 |
Alex Gleason
|
08dd5fa4eb
|
db/events: fix `local: false` filter
|
2023-09-04 17:17:47 -05:00 |
Alex Gleason
|
8ec215402f
|
db/migrations: fix `down` in 003_events_admin to drop the new "admin" column, not the "relays" table (whoops)
|
2023-09-04 13:20:07 -05:00 |
Alex Gleason
|
25e023aaf2
|
db/users: add indexes on users.pubkey and users.username
|
2023-09-04 13:18:11 -05:00 |
Alex Gleason
|
561ae9532a
|
db/events: getFiltersQuery, break to multiple lines for readability
|
2023-09-04 13:04:20 -05:00 |
Alex Gleason
|
1f06035bf2
|
db/events: getFiltersQuery, improve variable names
|
2023-09-04 13:03:10 -05:00 |
Alex Gleason
|
e377d7b3ce
|
events/db: add a deleteFilters function to delete all events from the local db matching the filters
|
2023-09-04 12:58:35 -05:00 |
Alex Gleason
|
81ca3e79be
|
Merge branch 'fe-config' into 'develop'
frontendConfigController: add a #d filter
See merge request soapbox-pub/ditto!35
|
2023-09-04 00:21:22 +00:00 |
Alex Gleason
|
5a3d112396
|
frontendConfigController: add a #d filter
|
2023-09-03 19:18:05 -05:00 |
Alex Gleason
|
c54f9aa7b1
|
Merge branch 'fe-config' into 'develop'
Implement frontend configurations
Closes #45
See merge request soapbox-pub/ditto!34
|
2023-09-04 00:14:40 +00:00 |
Alex Gleason
|
7686371183
|
Implement frontend configurations
|
2023-09-03 18:49:45 -05:00 |
Alex Gleason
|
2f645920f5
|
Merge branch 'admin' into 'develop'
Let users be admins
See merge request soapbox-pub/ditto!33
|
2023-09-03 18:14:36 +00:00 |
Alex Gleason
|
3c45a4a3aa
|
sign: simplify awaitSignedEvent (remove unnecessary conditional, rearrange error, fix crash)
|
2023-09-02 22:39:35 -05:00 |
Alex Gleason
|
93f06fd342
|
config: preserve query params in Conf.local
|
2023-09-02 22:38:21 -05:00 |
Alex Gleason
|
b81091f5da
|
auth98: requireProof --> requireAdmin
|
2023-09-02 20:52:17 -05:00 |
Alex Gleason
|
f7d74c97ca
|
db/users: add `admin` column
|
2023-09-02 20:52:02 -05:00 |
Alex Gleason
|
c8a5da086e
|
sign: ensure the NIP-46 result matches the template
|
2023-09-02 20:09:28 -05:00 |
Alex Gleason
|
007565b513
|
eventSchema: ensure the event ID matches its hash
|
2023-09-02 19:40:28 -05:00 |
Alex Gleason
|
7595dfa2e5
|
auth98: make requireProof obtain the event over NIP-46
|
2023-09-02 19:33:13 -05:00 |
Alex Gleason
|
c8d6389132
|
sign: refactor the unnecessarily complex awaitSignedEvent function
|
2023-09-02 18:56:42 -05:00 |
Alex Gleason
|
61f5acc937
|
nip98: add a dedicated nip98 module, refactor auth98.ts
|
2023-09-02 18:32:01 -05:00 |
Alex Gleason
|
4c41ce8c0a
|
@/nip05.ts --> @/utils/nip05.ts
|
2023-09-02 13:43:01 -05:00 |
Alex Gleason
|
6ef997fbd9
|
Merge branch 'favourites' into 'develop'
Add /api/v1/favourites
Closes #64
See merge request soapbox-pub/ditto!32
|
2023-09-01 18:17:02 +00:00 |
Alex Gleason
|
4ff27ddc04
|
Add /api/v1/favourites
|
2023-09-01 13:14:27 -05:00 |
Alex Gleason
|
7c2de9b2cf
|
Merge branch 'unfurl-timeout' into 'develop'
Fix unfurl timeout
See merge request soapbox-pub/ditto!31
|
2023-08-31 02:43:11 +00:00 |
Alex Gleason
|
54481ab96b
|
Fix unfurl timeout
|
2023-08-30 21:40:52 -05:00 |
Alex Gleason
|
305c5035a2
|
Merge branch 'fts' into 'develop'
Add full-text search with SQLite FTS5
Closes #61 and #60
See merge request soapbox-pub/ditto!30
|
2023-08-30 22:32:44 +00:00 |
Alex Gleason
|
b9fc663db4
|
Switch to my fork of deno-sqlite with FTS support
|
2023-08-30 17:29:45 -05:00 |
Alex Gleason
|
3cd6b6f3f3
|
db/events: index profiles in search
|
2023-08-30 17:09:44 -05:00 |
Alex Gleason
|
e976f51d55
|
schemas/nostr: add `search` key to filters
|
2023-08-30 16:19:21 -05:00 |
Alex Gleason
|
af76d8cbae
|
Bump kysely-deno-sqlite to v1.0.1, remove `as any` from database type
|
2023-08-30 16:12:39 -05:00 |
Alex Gleason
|
b7b5e67118
|
search: refactor/cleanup searchController
|
2023-08-30 15:40:18 -05:00 |
Alex Gleason
|
080cfe817b
|
search: support account_id query param
|
2023-08-30 15:31:07 -05:00 |