Commit graph

3339 commits

Author SHA1 Message Date
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
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