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 |
Alex Gleason
|
799a9c1e9a
|
search: support searching by account_id
|
2023-08-30 15:22:39 -05:00 |
Alex Gleason
|
8079679f18
|
search: support MastoAPI params, improve performance, improve value lookup
|
2023-08-30 15:02:28 -05:00 |
Alex Gleason
|
675010ddec
|
search: fix FTS special characters, optimize search
|
2023-08-30 14:03:16 -05:00 |
Alex Gleason
|
df14ff66bc
|
search: search use FTS to search for statuses
|
2023-08-30 12:16:04 -05:00 |
Alex Gleason
|
5e9a3dd8d1
|
db/events: only index kind 1 events in search
|
2023-08-30 12:07:49 -05:00 |
Alex Gleason
|
02e1a4ce58
|
db/events: support "search" filter
|
2023-08-30 12:04:45 -05:00 |
Alex Gleason
|
0c83e759f3
|
Merge branch 'follows' into 'develop'
Implement followers/following endpoints and account counters
Closes #69 and #68
See merge request soapbox-pub/ditto!29
|
2023-08-30 16:26:52 +00:00 |
Alex Gleason
|
9b67d7a7c0
|
Add followers/following endpoints
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/69
|
2023-08-30 10:27:45 -05:00 |
Alex Gleason
|
728f0bd657
|
accounts: followers/following & status counts
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/68
|
2023-08-30 09:50:51 -05:00 |
Alex Gleason
|
62ea00dc6a
|
Merge branch 'favourited-by' into 'develop'
Add favourited_by and reblogged_by controllers
See merge request soapbox-pub/ditto!28
|
2023-08-29 23:09:47 +00:00 |
Alex Gleason
|
b27b84e3fb
|
Add favourited_by and reblogged_by controllers
|
2023-08-29 18:08:00 -05:00 |
Alex Gleason
|
9b761ff960
|
firehose: apparently the `since` filter is essential
|
2023-08-29 16:40:23 -05:00 |
Alex Gleason
|
5a5604b6d2
|
Merge branch 'counters' into 'develop'
Make status counters work
See merge request soapbox-pub/ditto!27
|
2023-08-29 20:32:11 +00:00 |
Alex Gleason
|
ad823e587a
|
accounts: remove unecessary sort call
|
2023-08-29 15:29:12 -05:00 |
Alex Gleason
|
d01dbcbfee
|
relay: add support for NIP-45 COUNT
|
2023-08-29 15:24:07 -05:00 |
Alex Gleason
|
fc1ed59002
|
firehose: use `limit: 0` instead of `since`
|
2023-08-29 14:53:12 -05:00 |
Alex Gleason
|
9d714b6173
|
Pass viewerPubkey to toStatus in more places
|
2023-08-29 14:48:28 -05:00 |
Alex Gleason
|
2ee29bf1e2
|
Make favourites stick, refactor some async logic in threads
|
2023-08-29 14:44:59 -05:00 |
Alex Gleason
|
d4612d5f21
|
toStatus: make status counters work (local db only)
|
2023-08-29 14:13:41 -05:00 |
Alex Gleason
|
07ccc1934a
|
Merge branch 'cleanup' into 'develop'
Cleanup
See merge request soapbox-pub/ditto!26
|
2023-08-29 18:47:06 +00:00 |
Alex Gleason
|
95761e2eef
|
schema: add comments
|
2023-08-29 13:28:16 -05:00 |