Commit graph

514 commits

Author SHA1 Message Date
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
5001567b00
Streaming: temporarily remove UserStore (allow blocked posts through) 2024-05-03 17:20:35 -05: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
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
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
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
23f8377231 feat: create reports controller 2024-05-02 16:03:15 -03:00
P. Reis
3e6600b5f5 Merge branch 'main' into feat-create-reports
((( Updating local branch )))
2024-05-02 09:33:59 -03: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
P. Reis
9553fce25d Merge branch 'main' into feat-create-reports
(((Updating local branch)))
2024-05-01 20:56:18 -03:00
P. Reis
e8088c9eed feat: define reports endpoint 2024-05-01 20:38:30 -03: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
c7b34ed31b
iso-639-1 alias 2024-05-01 16:18:28 -05:00
Alex Gleason
3513206de1
stickynotes alias 2024-05-01 16:14:50 -05:00
Alex Gleason
c190d2c8ce
Refactor Storages to get lazy-loaded only when they are used 2024-05-01 14:56:47 -05:00
P. Reis
2b605d2ac3 Merge branch 'main' into fix-block-not-working-in-streaming
(((Updating local branch)))
2024-04-30 21:23:44 -03:00
P. Reis
f0c66c1e92 fix(streaming): don't show posts from blocked users 2024-04-30 21:23:25 -03:00
Alex Gleason
0bb4ccf5c9
Move nostr-tools to an import alias 2024-04-30 18:43:53 -05:00
Alex Gleason
35ab012276
hashtagTimelineController: toLowerCase 2024-04-30 14:58:00 -05:00
Alex Gleason
0925f37929
Make storeMiddleware available in every request 2024-04-29 15:05:08 -05:00
P. Reis
bb82df14c6 refactor: user preference in create & verify credentials 2024-04-29 13:49:12 -03:00
P. Reis
6627704114 feat: save user preferences (kind 30078) & encrypt it 2024-04-28 17:07:41 -03:00
P. Reis
86573a579b refactor: store middleware 2024-04-27 20:59:35 -03:00
P. Reis
a7912e0800 feat: if possible use userStore in renderStatuses() 2024-04-27 17:03:30 -03:00
Alex Gleason
4e4b7711c9
relay: NSchema 2024-04-25 18:48:02 -05:00
Alex Gleason
7ee258fe87
relay: fix local filtering logic 2024-04-25 18:46:34 -05:00
Alex Gleason
7aa931a69e
try-catch the InternalRelay req's 2024-04-25 18:24:03 -05:00
Alex Gleason
7a18a19b2f
Remove subs.ts & subscription.ts, refactor around it 2024-04-25 18:23:26 -05:00
Alex Gleason
0aab3eb775
Rewrite hydrateEvents 2024-04-23 19:31:48 -05:00
Alex Gleason
3204b61f0b
Add an API to manage admin relays 2024-04-23 16:21:36 -05:00
Alex Gleason
5d84566385 Merge branch 'perf-hydrate-events' into 'main'
Performance: hydrate events makes up to 5 calls to database

See merge request soapbox-pub/ditto!175
2024-04-23 20:24:55 +00:00
Alex Gleason
0f9cc9fe51
zod import alias 2024-04-23 15:03:20 -05:00
P. Reis
b77c8a00cd perf: make up to 5 calls to database in hydrateEvents & remove old hydrate functions 2024-04-22 22:15:36 -03:00
P. Reis
12b030c8aa refactor: decode pubkey with right import in search account 2024-04-20 21:52:36 -03:00
P. Reis
49f06869a3 feat: render account from pubkey if no kind 0 exists - /v2/search 2024-04-20 21:26:05 -03:00
P. Reis
60a1ff7adc feat: render account from pubkey if no kind 0 exists - /v1/accounts/search 2024-04-20 21:03:17 -03:00
Alex Gleason
64d50552b7
Import hono with an import alias 2024-04-20 18:54:15 -05:00
Alex Gleason
9c91e41e87
Switch NSpec to Nostrify, update imports 2024-04-19 16:39:35 -05:00
P. Reis
e2b377d9c7 fix: reblogged field boolean value takes into account viewerPubkey 2024-04-19 11:12:11 -03:00
P. Reis
e4892c3e4a fix: response with quote field hydrated in create status 2024-04-16 14:44:04 -03:00