Commit graph

2094 commits

Author SHA1 Message Date
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
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
P. Reis
fef787faad refactor(streaming): use better Sticky 2024-10-28 20:41:07 -03: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
f5f31ce98f
fix image uploads, use sharp to get image metadata instead of image-information 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
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
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
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
P. Reis
e5d0634864 feat: pagination with Link headers in trendingStatusesController 2024-10-18 19:23:02 -03:00
Alex Gleason
10e1967ad3 Merge branch 'fix-zap-sender-missing-kind-0' into 'main'
Fix zap sender missing kind 0

Closes #237 and #254

See merge request soapbox-pub/ditto!558
2024-10-18 18:55:06 +00:00
Alex Gleason
c390481939
Remove TEST_DATABASE_URL 2024-10-18 13:25:39 -05:00
Alex Gleason
f6046c015b
Remove @std/dotenv 2024-10-18 13:22:34 -05:00
P. Reis
f581dcbcfb fix(hydrate): make gatherAuthors() function async 2024-10-18 14:35:30 -03:00
P. Reis
a1bf808efd fix: remove 'HEAD' from previous conflict 2024-10-18 14:30:15 -03:00
P. Reis
ceaf6534ae Merge branch 'main' into fix-zap-sender-missing-kind-0 2024-10-18 14:27:42 -03:00
Alex Gleason
08cc4f1db9
Speed up migrations in tests 2024-10-18 12:24:49 -05:00
P. Reis
ead96af16f fix: get all zap related authors (receivers, senders) inside gatherAuthors() function 2024-10-18 14:23:38 -03:00
Alex Gleason
b876cf368a Merge branch 'fix-zap-post' into 'main'
fix(zapController): remove not needed arguments

See merge request soapbox-pub/ditto!556
2024-10-18 17:13:08 +00:00
P. Reis
0516fb6ce8 fix(zapController): remove not needed arguments 2024-10-18 14:08:47 -03:00
Alex Gleason
5b080c7bc0 Merge branch 'hydrate-null-author' into 'main'
Hydrate null authors

Closes #168

See merge request soapbox-pub/ditto!552
2024-10-18 14:55:34 +00:00
Alex Gleason
5d484e4bf6
webmanifest: add app icons 2024-10-17 18:15:11 -05:00
Alex Gleason
6ea71865f1
hydrate: build fallback authors during gatherAuthors step 2024-10-17 15:26:23 -05:00
Alex Gleason
4293092756
Fix zap amount in web push notification
Ref: https://gleasonator.dev/@idsera@ditto.pub/posts/eeddba51bb15e06654afd1952e62bd91d2248d9517ba499024b09887081dd919
2024-10-17 15:16:14 -05:00
Alex Gleason
33e5b20159
Hydrate null authors 2024-10-17 15:04:57 -05:00
Alex Gleason
b4b7381b49
Implement OAuth revoke endpoint 2024-10-17 14:20:42 -05:00