Commit graph

2798 commits

Author SHA1 Message Date
Alex Gleason
a294724946
Merge remote-tracking branch 'origin/main' into ipfs-image-metadata 2024-11-07 10:13:30 -06:00
Siddharth Singh
e96a9e4f35
replace toByteArray with Response(stream).bytes() 2024-11-06 12:12:27 +05:30
Alex Gleason
840cacd561 Merge branch 'add-short-description-field' into 'main'
fix(updateInstanceController): allow for setting the tagline

See merge request soapbox-pub/ditto!581
2024-11-05 17:39:55 +00:00
P. Reis
9907d7ffd8 fix(updateInstanceController): allow for setting the tagline 2024-11-05 14:36:48 -03:00
Alex Gleason
7f02657306 Merge branch 'feat-set-kind-0-api' into 'main'
Create updateInstanceController endpoint (allow for setting the kind 0, screenshots go into kind 0 content)

Closes #259 and #257

See merge request soapbox-pub/ditto!577
2024-11-05 17:02:08 +00:00
P. Reis
af0211d65b fix(updateInstanceController): remove 'event' field from meta 2024-11-05 09:46:33 -03:00
P. Reis
ea24050a27 refactor: change thumbnailSchema to schemas/mastodon.ts 2024-11-05 09:02:27 -03:00
Alex Gleason
8b3f8809ee Merge branch 'wellknown' into 'main'
Let users host arbitrary .well-known paths

See merge request soapbox-pub/ditto!580
2024-11-04 23:43:25 +00:00
Alex Gleason
e3aed99605
Let users host arbitrary .well-known paths 2024-11-04 17:23:30 -06:00
P. Reis
f92c382da9 refactor: remove unused imports 2024-11-04 11:16:36 -03:00
P. Reis
bac2c51bc1 refactor: use screenshot_ids and thumbnail_id in updateInstanceController 2024-11-04 11:12:16 -03:00
P. Reis
cd7e6bbd43 feat: create thumbnailSchema 2024-11-04 11:10:27 -03:00
P. Reis
34d604dded refactor: sizesSchema 2024-11-03 20:27:52 -03:00
P. Reis
c411a871ef Merge branch 'main' into feat-set-kind-0-api 2024-11-01 23:19:53 -03:00
P. Reis
f0be2a1c02 fix: set thumbnail in 2024-11-01 23:19:17 -03:00
P. Reis
339b13c084 feat: create updateInstanceController
for now only update: title, description, screenshots (user must provide the image URL) and thumbnail (user must provide the image URL)
screenshots array is stored in the content of the kind 0 of the
2024-11-01 23:14:59 -03:00
P. Reis
c6ff4a9d25 feat: add sizesSchema 2024-11-01 23:07:51 -03:00
P. Reis
03d93ff810 fix: 'Context' resolves to a type-only declaration and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled. 2024-11-01 18:14:51 -03:00
Alex Gleason
d46af51604 Merge branch 'ephemeral' into 'main'
pipeline: improve error handling, include special treatment for ephemeral and NIP-46 events

See merge request soapbox-pub/ditto!576
2024-10-31 22:35:58 +00:00
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