Commit graph

290 commits

Author SHA1 Message Date
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
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
P. Reis
6248272243 feat: add quote repost 2024-04-15 17:19:37 -03:00
P. Reis
15853d79df refactor: remove kind 1 event from hydrateEvents in reblog controller 2024-04-13 18:31:30 -03:00
P. Reis
37bee709cd perf: hydrate repost events in reblog endpoint & streaming 2024-04-13 18:16:15 -03:00
P. Reis
24efca5ea0 perf: hydrate repost event in home timeline 2024-04-12 21:51:57 -03:00
P. Reis
073a3df17e feat: add support for quote repost 2024-04-12 14:07:22 -03:00
P. Reis
9f24f35a21 refactor: cast pubkey as string 2024-04-09 20:32:27 -03:00
Alex Gleason
a63dc8be4e Apply 2 suggestion(s) to 1 file(s) 2024-04-09 22:08:37 +00:00
P. Reis
7e8401688c feat: undo repost 2024-04-09 18:27:17 -03:00
P. Reis
dd307f5b3f fix: always update home timeline in realtime when reposting 2024-04-09 11:35:18 -03:00
Alex Gleason
70a29a74fb Merge branch 'repost-feat' into 'main'
feat: repost functionality

See merge request soapbox-pub/ditto!133
2024-04-08 15:54:43 +00:00
Alex Gleason
1f7a4664ec Apply 2 suggestion(s) to 2 file(s) 2024-04-08 15:49:35 +00:00
P. Reis
d8a471272d feat: update home timeline in realtime when reposting 2024-04-07 20:37:54 -03:00
P. Reis
25b1e7229c fix: stop home timeline hanging/loading when no posts are available 2024-04-07 20:26:47 -03:00
P. Reis
25fcd04d9f fix: deno fmt 2024-04-06 23:12:30 -03:00
P. Reis
ba08958b30 feat: attempt to delete repost if original post is deleted 2024-04-06 22:32:39 -03:00
Alex Gleason
b031224fe5
createStatusController: parse hashtags in text 2024-04-06 19:15:59 -05:00
Alex Gleason
7e7cf1df64
createStatusController: parse mentions in text 2024-04-06 18:51:37 -05:00
Alex Gleason
215d184808
accountSearchController: utilize the searchStore 2024-04-06 14:56:48 -05:00
P. Reis
bd5899029e refactor: deno fmt 2024-04-05 19:52:29 -03:00
P. Reis
178a3c4d0e feat: repost functionality 2024-04-05 19:44:12 -03:00
Alex Gleason
4b2b658685
Fix type errors 2024-04-05 14:18:46 -05:00
Alex Gleason
a106218439
hydrateEvents: restore stats 2024-03-30 17:44:17 -05:00
Alex Gleason
2a032b7b7b
DELETE /api/v1/statuses/:id 2024-03-30 13:34:18 -05:00
Alex Gleason
d4c94ba549
Remove DITTO_ENV config, make registrations always open 2024-03-29 11:51:32 -05:00