-
1f06035bf2
db/events: getFiltersQuery, improve variable names
Alex Gleason
2023-09-04 13:03:10 -0500
-
e377d7b3ce
events/db: add a deleteFilters function to delete all events from the local db matching the filters
Alex Gleason
2023-09-04 12:58:35 -0500
-
-
81ca3e79be
Merge branch 'fe-config' into 'develop'
Alex Gleason
2023-09-04 00:21:22 +0000
-
-
5a3d112396
frontendConfigController: add a #d filter
Alex Gleason
2023-09-03 19:18:05 -0500
-
c54f9aa7b1
Merge branch 'fe-config' into 'develop'
Alex Gleason
2023-09-04 00:14:40 +0000
-
-
7686371183
Implement frontend configurations
Alex Gleason
2023-09-03 18:49:45 -0500
-
-
2f645920f5
Merge branch 'admin' into 'develop'
Alex Gleason
2023-09-03 18:14:36 +0000
-
-
3c45a4a3aa
sign: simplify awaitSignedEvent (remove unnecessary conditional, rearrange error, fix crash)
Alex Gleason
2023-09-02 22:38:55 -0500
-
93f06fd342
config: preserve query params in Conf.local
Alex Gleason
2023-09-02 22:38:21 -0500
-
b81091f5da
auth98: requireProof --> requireAdmin
Alex Gleason
2023-09-02 20:52:17 -0500
-
f7d74c97ca
db/users: add `admin` column
Alex Gleason
2023-09-02 20:52:02 -0500
-
c8a5da086e
sign: ensure the NIP-46 result matches the template
Alex Gleason
2023-09-02 20:09:28 -0500
-
007565b513
eventSchema: ensure the event ID matches its hash
Alex Gleason
2023-09-02 19:40:28 -0500
-
7595dfa2e5
auth98: make requireProof obtain the event over NIP-46
Alex Gleason
2023-09-02 19:33:13 -0500
-
c8d6389132
sign: refactor the unnecessarily complex awaitSignedEvent function
Alex Gleason
2023-09-02 18:56:20 -0500
-
61f5acc937
nip98: add a dedicated nip98 module, refactor auth98.ts
Alex Gleason
2023-09-02 18:32:01 -0500
-
4c41ce8c0a
@/nip05.ts --> @/utils/nip05.ts
Alex Gleason
2023-09-02 13:43:01 -0500
-
-
6ef997fbd9
Merge branch 'favourites' into 'develop'
Alex Gleason
2023-09-01 18:17:02 +0000
-
-
4ff27ddc04
Add /api/v1/favourites
Alex Gleason
2023-09-01 13:14:27 -0500
-
-
7c2de9b2cf
Merge branch 'unfurl-timeout' into 'develop'
Alex Gleason
2023-08-31 02:43:11 +0000
-
-
54481ab96b
Fix unfurl timeout
Alex Gleason
2023-08-30 21:40:52 -0500
-
305c5035a2
Merge branch 'fts' into 'develop'
Alex Gleason
2023-08-30 22:32:44 +0000
-
-
b9fc663db4
Switch to my fork of deno-sqlite with FTS support
Alex Gleason
2023-08-30 17:29:45 -0500
-
3cd6b6f3f3
db/events: index profiles in search
Alex Gleason
2023-08-30 17:09:44 -0500
-
e976f51d55
schemas/nostr: add `search` key to filters
Alex Gleason
2023-08-30 16:19:21 -0500
-
af76d8cbae
Bump kysely-deno-sqlite to v1.0.1, remove `as any` from database type
Alex Gleason
2023-08-30 16:12:39 -0500
-
b7b5e67118
search: refactor/cleanup searchController
Alex Gleason
2023-08-30 15:40:18 -0500
-
080cfe817b
search: support account_id query param
Alex Gleason
2023-08-30 15:31:07 -0500
-
799a9c1e9a
search: support searching by account_id
Alex Gleason
2023-08-30 15:22:39 -0500
-
8079679f18
search: support MastoAPI params, improve performance, improve value lookup
Alex Gleason
2023-08-30 15:02:28 -0500
-
675010ddec
search: fix FTS special characters, optimize search
Alex Gleason
2023-08-30 14:03:16 -0500
-
df14ff66bc
search: search use FTS to search for statuses
Alex Gleason
2023-08-30 12:16:04 -0500
-
5e9a3dd8d1
db/events: only index kind 1 events in search
Alex Gleason
2023-08-30 12:07:29 -0500
-
02e1a4ce58
db/events: support "search" filter
Alex Gleason
2023-08-30 12:04:45 -0500
-
-
0c83e759f3
Merge branch 'follows' into 'develop'
Alex Gleason
2023-08-30 16:26:52 +0000
-
-
9b67d7a7c0
Add followers/following endpoints Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/69
Alex Gleason
2023-08-30 10:27:45 -0500
-
728f0bd657
accounts: followers/following & status counts Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/68
Alex Gleason
2023-08-30 09:49:06 -0500
-
-
62ea00dc6a
Merge branch 'favourited-by' into 'develop'
Alex Gleason
2023-08-29 23:09:47 +0000
-
-
b27b84e3fb
Add favourited_by and reblogged_by controllers
Alex Gleason
2023-08-29 18:08:00 -0500
-
-
9b761ff960
firehose: apparently the `since` filter is essential
Alex Gleason
2023-08-29 16:40:23 -0500
-
5a5604b6d2
Merge branch 'counters' into 'develop'
Alex Gleason
2023-08-29 20:32:11 +0000
-
-
ad823e587a
accounts: remove unecessary sort call
Alex Gleason
2023-08-29 15:29:12 -0500
-
d01dbcbfee
relay: add support for NIP-45 COUNT
Alex Gleason
2023-08-29 15:24:07 -0500
-
fc1ed59002
firehose: use `limit: 0` instead of `since`
Alex Gleason
2023-08-29 14:53:12 -0500
-
9d714b6173
Pass viewerPubkey to toStatus in more places
Alex Gleason
2023-08-29 14:48:28 -0500
-
2ee29bf1e2
Make favourites stick, refactor some async logic in threads
Alex Gleason
2023-08-29 14:44:59 -0500
-
d4612d5f21
toStatus: make status counters work (local db only)
Alex Gleason
2023-08-29 14:13:41 -0500
-
-
07ccc1934a
Merge branch 'cleanup' into 'develop'
Alex Gleason
2023-08-29 18:47:06 +0000
-
-
95761e2eef
schema: add comments
Alex Gleason
2023-08-29 13:28:16 -0500
-
2841d4f399
queries: remove unused import
Alex Gleason
2023-08-29 13:25:58 -0500
-
77b09baa8c
db/events: don't throw on duplicate events
Alex Gleason
2023-08-29 13:20:21 -0500
-
ebd933126a
webfinger: fix import order
Alex Gleason
2023-08-29 13:14:03 -0500
-
d21ec6d241
apps: use AppController type
Alex Gleason
2023-08-29 13:04:38 -0500
-
4d211d637e
timelines: add DRY renderStatuses function
Alex Gleason
2023-08-29 13:01:47 -0500
-
4216a7931a
Add `paginated` helper function, DRY pagination code
Alex Gleason
2023-08-29 12:55:00 -0500
-
ce4a330812
Rename timeline controllers, homeController --> homeTimelineController, etc
Alex Gleason
2023-08-29 12:41:14 -0500
-
-
b6da5a0339
Merge branch 'tag-timeline' into 'develop'
Alex Gleason
2023-08-29 00:53:08 +0000
-
-
ccb8c534ca
Add hashtag timeline
Alex Gleason
2023-08-28 19:51:21 -0500
-
-
d8b7608346
Merge branch 'notifications' into 'develop'
Alex Gleason
2023-08-28 21:05:02 +0000
-
-
a075c533e6
Make notifications kind of work
Alex Gleason
2023-08-28 15:56:38 -0500
-
2029c73eab
requireAuth --> requirePubkey
Alex Gleason
2023-08-28 15:38:32 -0500
-
dfbad6b2e7
Add boilerplate notifications controller, fix import order in app.ts
Alex Gleason
2023-08-28 14:23:27 -0500
-
-
6d5add92a2
Merge branch 'user-stream' into 'develop'
Alex Gleason
2023-08-28 18:41:35 +0000
-
-
e18aa878bb
streaming: reorder tag params
Alex Gleason
2023-08-28 13:37:15 -0500
-
e6d1494a10
streaming: make user stream mostly work, in a kind of hacky way
Alex Gleason
2023-08-28 13:34:15 -0500
-
e8a7dfef2b
Remove uneeded session ID from auth token
Alex Gleason
2023-08-28 13:00:00 -0500
-
f25284daa9
streaming: support hashtag timeline
Alex Gleason
2023-08-28 12:42:28 -0500
-
-
2d619868aa
Merge branch 'nip46' into 'develop'
Alex Gleason
2023-08-27 15:19:18 +0000
-
-
2e8b26cf4f
Remove legacy stream.ts module
Alex Gleason
2023-08-27 10:07:13 -0500
-
320d2f493e
change .positive() to .nonnegative() !!!
Alex Gleason
2023-08-26 23:13:48 -0500
-
0a9b53bbc1
sign: fix parsing connect response from string to JSON
Alex Gleason
2023-08-26 22:49:32 -0500
-
0227eb3b34
deno.json: fix imports warning
Alex Gleason
2023-08-26 19:14:29 -0500
-
655004e775
Rework web signer to use NIP-46 events
Alex Gleason
2023-08-26 18:03:59 -0500
-
1806cf2286
filter: treat the admin pubkey as local
Alex Gleason
2023-08-26 17:31:52 -0500
-
9cd1ca1861
streaming: don't forget to close the subscription when the socket closes
Alex Gleason
2023-08-26 15:57:51 -0500
-
c13b7f4af7
subs: allow any object in place of the socket
Alex Gleason
2023-08-26 15:55:16 -0500
-
67bba508af
utils/web: make `tags` optional
Alex Gleason
2023-08-26 15:21:33 -0500
-
1b2a486c65
pipeline: don't store ephemeral events
Alex Gleason
2023-08-26 13:40:10 -0500
-
2aefdc4bd1
kinds: improve detection of legacy kinds
Alex Gleason
2023-08-26 13:25:32 -0500
-
fdc39297fd
Add kinds module to classify events by kind
Alex Gleason
2023-08-26 13:18:58 -0500
-
63def1d62c
utils: add return types (to improve readability)
Alex Gleason
2023-08-26 12:58:17 -0500
-
7570b0dee4
utils: new Date().getTime() --> Date.now()
Alex Gleason
2023-08-26 12:56:07 -0500
-
e17111a859
utils/web: PendingEvent --> EventStub
Alex Gleason
2023-08-26 12:52:24 -0500
-
60cecafdb5
Remove admin.ts, move to sign.ts, add createAdminEvent function
Alex Gleason
2023-08-26 12:48:08 -0500
-
3c279175bc
instance: actually, put all this under a nostr key
Alex Gleason
2023-08-26 12:28:25 -0500
-
baf4c00fee
instance: add urls.nostr_relay and pubkey properties to instance
Alex Gleason
2023-08-26 12:01:46 -0500
-
887c68f052
config: add comments to all config options
Alex Gleason
2023-08-26 11:55:16 -0500
-
-
4f12e067fc
Merge branch 'public-stream' into 'develop'
Alex Gleason
2023-08-26 01:19:14 +0000
-
-
9da03aa053
streaming: socket.addEventListener('open', ...) --> socket.onopen, etc
Alex Gleason
2023-08-25 17:17:26 -0500
-
a93d77c851
streaming: add `stream` param to streaming events
Alex Gleason
2023-08-25 16:17:45 -0500
-
b60e84d29b
relay: only send if socket is open
Alex Gleason
2023-08-25 15:00:48 -0500
-
f7cd67c572
Make MastoAPI streaming work for public feeds
Alex Gleason
2023-08-25 14:59:37 -0500
-
d1117f5513
relay: improve variable names in handleReq
Alex Gleason
2023-08-25 13:42:58 -0500
-
c18d7b952f
Move filter types into filter.ts
Alex Gleason
2023-08-25 13:38:21 -0500
-
baace5ea2d
Refactor streaming to use async iterators
Alex Gleason
2023-08-25 13:35:20 -0500
-
12f6b1f1b7
Merge branch 'subs' into 'develop'
Alex Gleason
2023-08-24 23:45:08 +0000
-
-
00c531bbff
relay: close sub when socket is closed
Alex Gleason
2023-08-24 18:43:14 -0500
-
d13136c709
Merge branch 'subs' into 'develop'
Alex Gleason
2023-08-24 23:35:30 +0000
-
-
f9de6932ac
utils: remove unused import
Alex Gleason
2023-08-24 17:42:28 -0500
-
2f7914f044
pipeline: skip previously encountered events
Alex Gleason
2023-08-24 17:39:24 -0500