Commit graph

115 commits

Author SHA1 Message Date
P. Reis
7d9f874cdf feat: implement fifth parameter in zap tag 2024-08-27 17:52:51 -03:00
Alex Gleason
1feeaf7b1e
Put zap splits behind a feature flag, disabled by default 2024-08-14 22:05:17 -05:00
Alex Gleason
552de01a17
Rework DittoDB to return an object 2024-08-11 19:02:27 -05:00
Alex Gleason
5d6ab9f63b
Separate listPagination 2024-08-06 19:04:27 -05:00
Alex Gleason
d285b7dced
Fix Mastodon legacy pagination 2024-08-06 18:20:26 -05:00
P. Reis
bce404728b refactor: rename zap_split to dittoZapSplit 2024-08-05 16:20:38 -03:00
P. Reis
0a3ed4e160 refactor(zap split): rename amount to weight 2024-08-05 14:41:16 -03:00
Alex Gleason
a8e81e304e
context: reverse descendants 2024-07-29 23:43:04 -05:00
Alex Gleason
edc4607c8d
Improve performance of /context endpoint 2024-07-29 23:40:08 -05:00
P. Reis
541b5b1c39 refactor: imports in alphabetical order 2024-07-25 14:52:03 -03:00
P. Reis
0e43d1e8a7 refactor: add zap tag with new data structure 2024-07-23 22:40:38 -03:00
P. Reis
a0c952b9b9 refactor: do not use isObjectEmpty function in if condition, zap tag 2024-07-23 20:15:44 -03:00
P. Reis
de32930c44 refactor: use exclamation mark (bang) instead of 'as string' cast 2024-07-23 18:26:06 -03:00
P. Reis
80e14c65c0 refactor: rename zap_split.ts to zap-split.ts, rename tests as well 2024-07-23 18:14:22 -03:00
P. Reis
5a5e8b7c5d feat(createStatusController): add 'zap' tag to event 2024-07-21 20:11:26 -03:00
Alex Gleason
fa53dd7f8d
createStatusController: add relay hints
Fixes https://github.com/nostrability/nostrability/issues/52
2024-07-07 00:23:00 +01:00
P. Reis
0d7ef68353 feat: add pagination and sort by amount - zapped_by endpoint 2024-06-23 13:38:40 -03:00
P. Reis
8b67a05792 refactor: parse zap request with zod 2024-06-17 21:07:27 -03:00
P. Reis
bf017195a6 refactor: sort imports alphabetically 2024-06-17 20:15:51 -03:00
P. Reis
7a29c349e8 fix: get amount from zap receipt if not present in zap request 2024-06-17 14:51:12 -03:00
P. Reis
22dbddb5d3 refactor: zap amount parsed with zod, change zapped_by fields name 2024-06-13 14:21:01 -03:00
P. Reis
b43aed2301 feat: create zappedByController 2024-06-13 00:48:31 -03:00
Alex Gleason
45dee96219
Support language param with L tags 2024-06-07 10:01:08 -05:00
Alex Gleason
18d3363b65
contextController: fix hydration again 2024-06-05 11:10:58 -05:00
Alex Gleason
f7a9bf9ffd
Fix thread hydration 2024-06-05 11:04:25 -05:00
Alex Gleason
c5c4f47bc2
Hide muted users from threads 2024-06-05 11:00:16 -05:00
Alex Gleason
92ac97c688
zapController: don't let status_id be an empty string 2024-06-04 17:55:48 -05:00
P. Reis
50e7213954 fix(zapController): get kind 0 with store.query 2024-06-04 16:44:08 -03:00
P. Reis
739fea0890 feat: zap profiles directly
Rewrite zapController to return invoice in body instead of in header
2024-06-04 13:37:04 -03:00
Alex Gleason
3874a7fe8d
Add quotesController to list the quotes of a status 2024-06-02 20:36:34 -05:00
Alex Gleason
e8ca21acde
mediaCompat consistency 2024-05-30 12:05:25 -05:00
Alex Gleason
c0123df79a
Strip newlines from end of status 2024-05-30 12:03:01 -05:00
Alex Gleason
86b3a51590
Add quote URI to the event content 2024-05-30 11:55:03 -05:00
P. Reis
27ed364f4a fix(zapController): purify event before getting invoice 2024-05-28 22:42:00 -03:00
Alex Gleason
78044cc8b6
Remove NWC, return a Ln-Invoice header on the zap endpoint 2024-05-28 16:54:57 -05:00
Alex Gleason
c7e5076434
favouritedByController: filter only likes 2024-05-23 13:50:45 -05:00
Alex Gleason
1d37106b27
unreblogStatusController: repostedEvent -> repostEvent 2024-05-22 12:08:20 -05:00
Alex Gleason
1a66570b56
Use linkify to parse hashtags when creating a status, too 2024-05-21 21:30:26 -05:00
Alex Gleason
5de7366ff0
Add r-tags to statuses 2024-05-21 21:22:25 -05:00
Alex Gleason
fc325880d2
Add root tags to replies 2024-05-21 14:27:49 -05:00
Alex Gleason
9839b8138f
tags.ts -> utils/tags.ts 2024-05-21 13:08:08 -05:00
Alex Gleason
540bd058a2
Fix NIP-27 mentions 2024-05-19 11:33:59 -05:00
Alex Gleason
b1b341d3b8
Insert media URL into text 2024-05-18 15:29:12 -05:00
Alex Gleason
e7d350a0e3
Fix uploading by URL 2024-05-18 14:54:10 -05:00
Alex Gleason
611a94bdcf
Fix uploading (almost) 2024-05-18 14:32:50 -05:00
Alex Gleason
7d34b9401e
Support imeta tags 2024-05-18 13:22:20 -05:00
Alex Gleason
5aacbe7af5
Fix media uploads due to 'awaiting' a query builder instance 2024-05-16 18:53:04 -05:00
P. Reis
e61cbecb3e refactor(unreblog): update error messages and query with Storages.db() 2024-05-16 10:38:30 -03:00
Alex Gleason
d3a7f0849f
deno lint 2024-05-14 19:02:15 -05:00
Alex Gleason
68b5887ed0
Don't let your memes be dreams 2024-05-14 18:24:34 -05:00