Commit graph

136 commits

Author SHA1 Message Date
Alex Gleason
aa8bb03e5a
mv src packages/ditto 2025-02-15 14:21:05 -06:00
Alex Gleason
8d19eb3ec6
Don't hydrate related events when posting a status 2025-02-13 21:33:34 -06:00
Alex Gleason
1204dc722f Merge branch 'fix-mention' into 'main'
fix: mention with hyphen

See merge request soapbox-pub/ditto!619
2025-01-21 16:16:28 +00:00
P. Reis
e89853c56d fix: mention with hyphen 2025-01-21 13:12:39 -03:00
Alex Gleason
b61eb2ff11
Fix favourites of kind 20 events 2025-01-05 11:37:38 -06:00
Alex Gleason
7a60b4b8d8
Support kind 20 "Picture" events (NIP-68) 2025-01-05 11:23:18 -06:00
Alex Gleason
79e87008c1
Move content back up because it has side-effects with pubkeys 2024-12-26 20:40:59 -06:00
Alex Gleason
f72fdf79bb
Stop adding unnecessary newlines to the top of posts with images only 2024-12-26 20:33:26 -06:00
Alex Gleason
cd95c38eec
'q' tag should omit marker per NIP-18 2024-11-30 13:14:16 -06:00
Alex Gleason
1dc19ef422
Support Bluesky's !no-unauthenticated self-label 2024-11-25 22:36:32 -06:00
P. Reis
7d27a6e890 refactor: rewrite if statement 2024-10-19 23:16:04 -03:00
P. Reis
0abd567824 fix: duplicate pubkey of 'self' if zap tag 2024-10-19 22:31:41 -03:00
P. Reis
0516fb6ce8 fix(zapController): remove not needed arguments 2024-10-18 14:08:47 -03:00
Alex Gleason
7f8697f4f3
Fix zap tag logic 2024-10-02 22:52:07 -05:00
Alex Gleason
031297f253
Improve relay/pubkey hints when creating a status 2024-10-02 22:46:52 -05:00
P. Reis
12aaf8c678 refactor: use languageSchema in createStatusSchema 2024-09-25 16:51:59 -03:00
Alex Gleason
ebc0250d81
DittoDB.getInstance() -> Storages.kysely() 2024-09-11 13:23:06 -05:00
Alex Gleason
d2fb3fd253
Make EventsDB not rely on Conf 2024-09-11 13:06:20 -05:00
Alex Gleason
2309fd72d1
Don't limit statuses to kind 1 2024-09-08 09:05:23 -05:00
Alex Gleason
8efd6fbb20
Remove unattached_media table, replace with LRUCache, fix media upload order problem 2024-09-07 10:24:56 -05:00
Alex Gleason
ddba16551a
Fix rendering mentions inside of URLs 2024-09-07 09:41:43 -05:00
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