Commit Graph

1304 Commits

Author SHA1 Message Date
Alex Gleason 3770d8a0dd
UnattachedMedia: return early when querying nothing 2024-05-04 13:14:03 -05:00
P. Reis f08211e2a1 refactor(admin-accounts): resolve import specifier via the active import map 2024-05-04 10:29:08 -03:00
Alex Gleason fbf3011e3e Merge branch 'hydrate-reactions' into 'main'
Notifications: fix Favourites and EmojiReacts not being displayed

See merge request soapbox-pub/ditto!219
2024-05-04 12:48:59 +00:00
Alex Gleason 0a3be0da58
Notifications: fix Favourites and EmojiReacts not being displayed 2024-05-03 21:22:53 -05:00
Alex Gleason e25372313b
suggestions: fix profile lookup, limit to 20 items for now 2024-05-03 18:32:35 -05:00
Alex Gleason 4ee4266843
instance: add 'v2_suggestions' to features 2024-05-03 18:28:07 -05:00
Alex Gleason cfb0d3f04c Merge branch 'suggestions' into 'main'
Start suggestions API

See merge request soapbox-pub/ditto!218
2024-05-03 23:24:53 +00:00
Alex Gleason 0f3fbbcb28
Start suggestions API 2024-05-03 18:21:40 -05:00
Alex Gleason b60d4fde3d Merge branch 'streaming-rm-userstore' into 'main'
Streaming: temporarily remove UserStore (allow blocked posts through)

See merge request soapbox-pub/ditto!217
2024-05-03 22:44:25 +00:00
Alex Gleason 5001567b00
Streaming: temporarily remove UserStore (allow blocked posts through) 2024-05-03 17:20:35 -05:00
Alex Gleason a45d45d614 Merge branch 'implemented' into 'main'
Clean up "not implemented" endpoints

See merge request soapbox-pub/ditto!216
2024-05-03 22:18:35 +00:00
Alex Gleason 7efd5c1822
Clean up "not implemented" endpoints 2024-05-03 17:09:20 -05:00
Alex Gleason ad3a1ef137 Merge branch 'markers' into 'main'
Implement Markers API

See merge request soapbox-pub/ditto!215
2024-05-03 21:24:40 +00:00
Alex Gleason a2c5b5e61d
Markers: only allow 'home' and 'notifications' markers 2024-05-03 16:20:07 -05:00
Alex Gleason 8e178338b7
Implement Markers API 2024-05-03 16:17:36 -05:00
Alex Gleason 2b2499849f
pipeline: fix reqmeister crash, probably 2024-05-03 13:52:11 -05:00
Alex Gleason 60116ee651 Merge branch 'pool-req' into 'main'
PoolStore: add req method

See merge request soapbox-pub/ditto!214
2024-05-03 18:42:35 +00:00
Alex Gleason e9c5ef89ff
Reqmeister: improve API and fetching logic (untested) 2024-05-03 13:33:50 -05:00
Alex Gleason 6b20104327
filter: use getFilterLimit from nostr-tools 2024-05-03 13:26:26 -05:00
Alex Gleason 091392088f
PoolStore: simplify req 2024-05-03 13:25:18 -05:00
Alex Gleason 705e8e7c31
PoolStore: implement NRelay 2024-05-03 13:23:00 -05:00
Alex Gleason 2ee668d562 Merge branch 'feat-create-reports' into 'main'
Create user reports through kind 1984

Closes #97

See merge request soapbox-pub/ditto!210
2024-05-03 14:25:22 +00:00
Alex Gleason 67aa31b748 Merge branch 'fix-account-not-found' into 'main'
Fix user not found in accountLookupController

Closes #102

See merge request soapbox-pub/ditto!213
2024-05-03 14:23:27 +00:00
P. Reis f2f0aa8741 fix(accountLookup): fix user not found by using 'accountFromPubkey' 2024-05-03 09:52:25 -03:00
P. Reis ca5433bcc7 refactor(reports): update code according to code review in MR 210 2024-05-02 20:21:58 -03:00
Alex Gleason e61dd73761 Merge branch 'blocks-to-mutes' into 'main'
Rename blocks to mutes in the API

See merge request soapbox-pub/ditto!212
2024-05-02 20:37:15 +00:00
Alex Gleason 09c596c9e4
Add back block controllers, but 422 them 2024-05-02 15:34:17 -05:00
Alex Gleason 4c71dec6ce
Rename blocks to mutes in the API 2024-05-02 15:26:46 -05:00
Alex Gleason b219a21a2a Merge branch 'notifications-167' into 'main'
Notifications: render notifications for kinds 1, 6, and 7 events

See merge request soapbox-pub/ditto!211
2024-05-02 20:21:35 +00:00
Alex Gleason ec7b3f8350
followController: manually set `following: true` in the response 2024-05-02 15:02:05 -05:00
Alex Gleason 220f16feb8
Notifications: render notifications for kinds 1, 6, and 7 events 2024-05-02 14:36:28 -05:00
P. Reis 226c356646 feat: create mastodon response for reports 2024-05-02 16:03:59 -03:00
P. Reis 23f8377231 feat: create reports controller 2024-05-02 16:03:15 -03:00
Alex Gleason 3d70edfb39 Merge branch 'P-index' into 'main'
EventsDB: always index the first P-tag of events

See merge request soapbox-pub/ditto!209
2024-05-02 14:57:34 +00:00
Alex Gleason b016f931ff
EventsDB: always index the first P-tag of events 2024-05-02 09:54:24 -05:00
P. Reis 3e6600b5f5 Merge branch 'main' into feat-create-reports
((( Updating local branch )))
2024-05-02 09:33:59 -03:00
Alex Gleason a7cbd452e7 Merge branch 'strip-schema' into 'main'
Remove zod schemas that we can get from NSchema

See merge request soapbox-pub/ditto!208
2024-05-02 00:59:06 +00:00
Alex Gleason 4045a6bdfc
Catch metadata when parsing 2024-05-01 19:55:58 -05:00
Alex Gleason fc7ed8bf24
Remove zod schemas that we can get from NSchema 2024-05-01 19:51:12 -05:00
Alex Gleason 79177cd6c3 Merge branch 'rm-relays' into 'main'
Remove `relays` table from the database, track them with a NIP-65 admin event

See merge request soapbox-pub/ditto!207
2024-05-02 00:37:02 +00:00
Alex Gleason 76f30f5cc7
utils: remove unused import of zod 2024-05-01 19:19:52 -05:00
Alex Gleason 439dfca311
Fix kysely imports in migrations 2024-05-01 19:16:12 -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
P. Reis 9553fce25d Merge branch 'main' into feat-create-reports
(((Updating local branch)))
2024-05-01 20:56:18 -03:00
Alex Gleason bea2dab074 Merge branch 'relays-api-update' into 'main'
Admin relays: use "marker" property in the API, fix PUT controller

See merge request soapbox-pub/ditto!206
2024-05-01 23:52:34 +00:00
Alex Gleason 444a6efd7d
Upgrade kysely-deno-sqlite, fix the type 2024-05-01 18:40:04 -05:00
P. Reis e8088c9eed feat: define reports endpoint 2024-05-01 20:38:30 -03:00
Alex Gleason d1a4a71e31
Remove the lockfile 2024-05-01 18:30:12 -05:00
Alex Gleason 258e81df51
Admin relays: use "marker" property in the API, fix PUT controller 2024-05-01 18:29:32 -05:00
Alex Gleason 1477dc1049 Merge branch 'upgrade-zod' into 'main'
Bump zod to v3.23.5

See merge request soapbox-pub/ditto!205
2024-05-01 23:25:13 +00:00