Commit graph

2829 commits

Author SHA1 Message Date
Alex Gleason
e766f6c757
pipeline: improve error handling, include special treatment for ephemeral and NIP-46 events 2024-10-31 16:06:58 -05:00
Alex Gleason
47eca9e2f7 Merge branch 'fix-render-link-about' into 'main'
fix: render HTML link in bio

Closes #9

See merge request soapbox-pub/ditto!575
2024-10-31 17:06:43 +00:00
P. Reis
a883aea585 refactor: remove stripimeta in 'about' of renderAccount 2024-10-31 14:03:36 -03:00
P. Reis
e3fec6b938 fix: render HTML link in bio 2024-10-31 11:48:43 -03:00
Alex Gleason
40c24d927f Merge branch 'fix-bio-number' into 'main'
fix: users can set their bio to a number

Closes #184

See merge request soapbox-pub/ditto!574
2024-10-30 19:28:25 +00:00
P. Reis
94431fadcd fix: users can set their display_name to a number 2024-10-30 13:59:32 -03:00
P. Reis
0a7c0c60a9 fix: users can set their bio to a number 2024-10-30 13:48:35 -03:00
Siddharth Singh
38288aadb3
move tag logic to upload.ts 2024-10-30 11:06:48 +05:30
Siddharth Singh
e95441f5b9
revert changes to IPFSUploader and S3Uploader 2024-10-30 11:04:19 +05:30
Alex Gleason
96a11d42c9 Merge branch 'push-404' into 'main'
Fix 404 error in Web Push API

See merge request soapbox-pub/ditto!573
2024-10-29 18:08:51 +00:00
Alex Gleason
dc73749277
Fix 404 error in Web Push API 2024-10-29 13:05:50 -05:00
Alex Gleason
324ee58bd0 Merge branch 'fix-follow-people' into 'main'
fix: follow people

Closes #258

See merge request soapbox-pub/ditto!572
2024-10-29 14:13:43 +00:00
P. Reis
6fd0c273cb fix: follow people
create a new migration that replaces the function to NOTIFY only the event id
2024-10-29 11:07:51 -03:00
Alex Gleason
9260c2ba90 Merge branch 'sticky-streaming' into 'main'
refactor(streaming): use better Sticky

See merge request soapbox-pub/ditto!571
2024-10-29 00:39:21 +00:00
P. Reis
fef787faad refactor(streaming): use better Sticky 2024-10-28 20:41:07 -03:00
Alex Gleason
8ff4a0bdbd Merge branch 'fix-statuses-posts-pagination' into 'main'
Fix pagination when searching for posts, enhance search a little bit

Closes #255

See merge request soapbox-pub/ditto!567
2024-10-27 20:48:47 +00:00
P. Reis
3c3f90eddb refactor: kysely.selectNoFrom 2024-10-27 17:44:35 -03:00
P. Reis
f259ab8d88 refactor: rename queryWithoutPhraseto_tsquery to fallbackQuery 2024-10-27 15:50:15 -03:00
P. Reis
d06e0311c9 refactor: if statement lexemes 2024-10-27 15:48:04 -03:00
P. Reis
e8c66c77fc refactor: don't parse twice 2024-10-27 15:41:21 -03:00
P. Reis
a690a2ff6f Merge branch 'main' into fix-statuses-posts-pagination 2024-10-27 15:39:39 -03:00
P. Reis
553b17c646 refactor: tsdoc format 2024-10-27 15:38:35 -03:00
Alex Gleason
d52e717fb2
EventsDB: fix domain query with authors 2024-10-27 10:03:22 -05:00
Siddharth Singh
57725fa9ac
neatness 2024-10-27 10:21:53 +05:30
Siddharth Singh
713260e110
split off nip94 metadata stuff into its own file, port changes to s3uploader 2024-10-27 10:16:00 +05:30
Siddharth Singh
ff8374103e
remove unused dep 2024-10-27 10:00:47 +05:30
Siddharth Singh
f5f31ce98f
fix image uploads, use sharp to get image metadata instead of image-information 2024-10-27 09:13:48 +05:30
Siddharth Singh
de4b5f55d3
update lockfile 2024-10-27 09:13:48 +05:30
Siddharth Singh
b0a2422437
add more metadata to IPFSUploader 2024-10-27 09:13:48 +05:30
Alex Gleason
6171a321e2 Merge branch 'tribes-dockerfile-stuff' into 'main'
add allow-import flag to dockerfile

See merge request soapbox-pub/ditto!569
2024-10-27 02:29:45 +00:00
Alex Gleason
9b473406cf Merge branch 'bunker-pubkey' into 'main'
Let bunker_pubkey be different from user pubkey

See merge request soapbox-pub/ditto!568
2024-10-26 23:46:15 +00:00
Alex Gleason
42f5e316a8
Let bunker_pubkey be different from user pubkey 2024-10-26 18:37:26 -05:00
P. Reis
d27ab3ce49 fix: pagination in searching statuses 2024-10-26 18:58:02 -03:00
P. Reis
8b050e7df1 question: isn't Kysely immutable?
cc https://www.kysely.dev/docs/getting-started#querying
2024-10-26 18:53:19 -03:00
P. Reis
bbd692c58f fix(extractIdentifier): only return value if it has a domain
before this commit, if the value was  it would be true
2024-10-26 18:50:42 -03:00
Alex Gleason
d28db38ba9 Merge branch 'deno-2.0.3' into 'main'
Upgrade deno to v2.0.3

See merge request soapbox-pub/ditto!566
2024-10-26 21:15:20 +00:00
Alex Gleason
eb5db9a30b
Upgrade deno to v2.0.3 2024-10-26 15:57:06 -05:00
Alex Gleason
2b4efd6a03 Merge branch 'fix-search-profile-pagination' into 'main'
fix: search profiles with offset pagination

See merge request soapbox-pub/ditto!564
2024-10-24 00:09:17 +00:00
P. Reis
89e475ca4a fix: offset of zero 0 in accountSearchController 2024-10-23 20:42:10 -03:00
P. Reis
994dff8e79 fix: search profiles with offset pagination 2024-10-23 20:37:31 -03:00
Alex Gleason
28b874edc9 Merge branch 'fix-zap-pubkey-duplication' into 'main'
fix: duplicate pubkey of 'self' if zap tag

See merge request soapbox-pub/ditto!561
2024-10-20 02:21:00 +00:00
Alex Gleason
9ad9adcff5 Merge branch 'notify' into 'main'
Perform listen/notify of Nostr events to the pipeline

Closes #219

See merge request soapbox-pub/ditto!562
2024-10-20 02:18:22 +00:00
P. Reis
7d27a6e890 refactor: rewrite if statement 2024-10-19 23:16:04 -03:00
Alex Gleason
013917d612
Expose a generic listen method on the database adapters 2024-10-19 21:01:42 -05:00
Alex Gleason
4df61c0c59
pipeline: remove "event already in database" check 2024-10-19 20:55:09 -05:00
P. Reis
0abd567824 fix: duplicate pubkey of 'self' if zap tag 2024-10-19 22:31:41 -03:00
Alex Gleason
8155fae89a
Perform listen/notify of Nostr events to the pipeline 2024-10-19 20:27:46 -05:00
Alex Gleason
92a1d88923
Use Ditto planet as default instance thumbnail 2024-10-19 19:19:13 -05:00
Alex Gleason
67b17778d3 Merge branch 'all-trends-pagination' into 'main'
feat: pagination with Link headers in trendingStatusesController

Closes #236

See merge request soapbox-pub/ditto!560
2024-10-19 16:38:16 +00:00
P. Reis
e5d0634864 feat: pagination with Link headers in trendingStatusesController 2024-10-18 19:23:02 -03:00