Commit graph

38 commits

Author SHA1 Message Date
P. Reis
178a3c4d0e feat: repost functionality 2024-04-05 19:44:12 -03:00
Alex Gleason
2a032b7b7b
DELETE /api/v1/statuses/:id 2024-03-30 13:34:18 -05:00
Alex Gleason
5b24b7ad39
Pass Request signal down from API controllers 2024-01-23 15:58:59 -06:00
Alex Gleason
aaf01462c1
Update code to use new DittoEvent and DittoFilter. Event -> NostrEvent 2024-01-23 12:07:22 -06:00
Alex Gleason
826a244f47
Add status zap endpoint, publish zap request to pipeline 2024-01-15 16:43:56 -06:00
Alex Gleason
43359f787b
web.ts -> api.ts 2024-01-01 17:03:32 -06:00
Alex Gleason
3341d6aedd
Add pinController, unpinController 2024-01-01 16:23:08 -06:00
Alex Gleason
5f6715db46
Add unbookmarkController 2024-01-01 14:35:46 -06:00
Alex Gleason
69a44f9d2b
Add bookmarkController 2024-01-01 13:45:07 -06:00
Alex Gleason
e5c8f8c146
Bump the timeout a bit when fetching an individual status 2023-12-31 12:48:49 -06:00
Alex Gleason
a5369d9826
Ensure relations are loaded throughout the API where needed 2023-12-10 16:21:18 -06:00
Alex Gleason
a6947441fc
renderStatus: don't fetch the author, expect it to be passed in 2023-12-06 12:04:24 -06:00
Alex Gleason
d49c63bb1a
Move statuses view into its own file 2023-10-06 15:37:31 -05:00
Alex Gleason
9ca3ec08a3
Delete transformers directory, rename views 2023-10-06 12:02:24 -05:00
Alex Gleason
cf9a754b02
media: pukey --> pubkey, fix adding media tags to event 2023-09-09 20:12:47 -05:00
Alex Gleason
b5a84627c8
statuses: enable posting with media attachments 2023-09-08 18:45:00 -05: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
b27b84e3fb
Add favourited_by and reblogged_by controllers 2023-08-29 18:08:00 -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
bcfc3e2414
Use createEvent in more places 2023-08-19 22:25:45 -05:00
Alex Gleason
23928c0024
Move hono-related functions until utils/web 2023-08-19 14:05:08 -05:00
Alex Gleason
719b703e7c
client: remove publish function, create statuses through pipeline 2023-08-17 20:54:11 -05:00
Alex Gleason
0158a6979e
Publish events through pipeline 2023-08-17 20:45:50 -05:00
Alex Gleason
4f9b5c1431
statusController: remove unnecessary "as Event" 2023-08-17 14:57:46 -05:00
Alex Gleason
7330cd10e2
Refactor getEvent to take an opts object 2023-08-17 14:51:49 -05:00
Alex Gleason
870a6f5261
Add queries module for getting events for certain application needs 2023-08-17 13:12:38 -05:00
Alex Gleason
c15194020f
Delete event.ts, use nostr-tools types 2023-08-16 21:53:51 -05:00
Alex Gleason
63772022cf
deno fmt 2023-08-10 14:56:14 -05:00
Alex Gleason
e5082ed805
transmogrify --> transformers 2023-07-13 20:47:09 -05:00
Alex Gleason
97e6f1385c
Move transmute into transmogrify directory 2023-07-13 20:23:04 -05:00
Alex Gleason
cc751f03a7
Refactor to use nostrDate() and nostrNow() 2023-07-08 15:04:50 -05:00
Alex Gleason
07b406c25c
Handle CW/subject tags in render, fix schema for status create params 2023-07-02 13:49:41 -05:00
Alex Gleason
4edebaa105
createStatusController: handle most request params 2023-07-02 13:28:58 -05:00
Alex Gleason
6a20df2704
createStatusController: prevent non-public posts 2023-07-02 01:13:17 -05:00
Alex Gleason
d825f9d7cb
Yo dawg I heard u like pools 2023-05-07 12:59:55 -05:00
Alex Gleason
4993b4ca52
Support favourites 2023-05-07 12:32:24 -05:00
Alex Gleason
610ce4444a
api --> controllers/api 2023-04-30 14:45:30 -05:00
Renamed from src/api/statuses.ts (Browse further)