Commit graph

291 commits

Author SHA1 Message Date
Alex Gleason
54153bfd1e
notify: batch id lookups every 1s 2025-01-21 18:07:50 -06:00
Alex Gleason
7fdfb806f4
pipeline: skip refetch of encountered events 2025-01-21 17:31:55 -06:00
Alex Gleason
7a60b4b8d8
Support kind 20 "Picture" events (NIP-68) 2025-01-05 11:23:18 -06:00
P. Reis
8101483622 refactor: make domain:<domain> search faster 2024-12-09 11:32:51 -03:00
Alex Gleason
a7bfc665c3
Fix Bluesky's selfLabel name 2024-12-06 14:50:16 -06:00
P. Reis
74ef00e9d8 refactor(getIdsBySearch): do not search if the search content is empty 2024-11-29 23:39:14 -03:00
Alex Gleason
1dc19ef422
Support Bluesky's !no-unauthenticated self-label 2024-11-25 22:36:32 -06:00
Alex Gleason
098e1b7fff
Add a custom parseFormData helper to simulate Mastodon's (Rails) formdata parser 2024-11-20 09:46:09 -06:00
Alex Gleason
02ada73f48
Include Soapbox sentryDsn in CSP 2024-11-14 20:12:27 -06:00
Alex Gleason
55f50ba93d
PleromaConfigDB: implement .getIn 2024-11-14 19:54:29 -06:00
Alex Gleason
3e27e902d5
Add PleromaConfigDB test 2024-11-14 17:49:30 -06:00
Alex Gleason
5e523cbb1a
Merge remote-tracking branch 'origin/main' into configdb 2024-11-14 17:00:36 -06:00
Alex Gleason
6fae72b4cf
upload: append file size if it hasn't been 2024-11-07 13:10:15 -06:00
Alex Gleason
f987effc15
Make media analyze optional (disabled by default) 2024-11-07 11:18:39 -06:00
Alex Gleason
721fe52142
Reorganize sharp/blurhash into upload.ts 2024-11-07 11:09:20 -06:00
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
1a50578b39
Add PleromaConfigDB module 2024-11-04 10:12:58 -06: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
Siddharth Singh
38288aadb3
move tag logic to upload.ts 2024-10-30 11:06:48 +05:30
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
553b17c646 refactor: tsdoc format 2024-10-27 15:38:35 -03:00
Siddharth Singh
713260e110
split off nip94 metadata stuff into its own file, port changes to s3uploader 2024-10-27 10:16:00 +05:30
P. Reis
d27ab3ce49 fix: pagination in searching statuses 2024-10-26 18:58:02 -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
994dff8e79 fix: search profiles with offset pagination 2024-10-23 20:37:31 -03:00
Alex Gleason
92a1d88923
Use Ditto planet as default instance thumbnail 2024-10-19 19:19:13 -05:00
Alex Gleason
5d484e4bf6
webmanifest: add app icons 2024-10-17 18:15:11 -05:00
Alex Gleason
b4e63afb8c
Merge remote-tracking branch 'origin/main' into push 2024-10-11 18:03:20 -05:00
Alex Gleason
7dff4e88d4 Merge branch 'captcha-n' into 'main'
Switch captcha_solved from a label event to an n-tag on a user event

See merge request soapbox-pub/ditto!547
2024-10-11 22:43:39 +00:00
Alex Gleason
d4f3c673a2
deno lint 2024-10-11 17:35:45 -05:00
P. Reis
9c7e35a6b4 refactor: code preferences, formatting 2024-10-11 18:47:38 -03:00
P. Reis
36d09af467 feat: make lande great again
create detectLanguage() function that removes emojis, links and other weird invisible characters
2024-10-11 14:28:01 -03:00
Alex Gleason
874da1baad
Delete unused cacheMiddleware and ExpiringCache module 2024-10-10 14:01:18 -05:00
Alex Gleason
1ed6cac1c4
Add a crypto module to convert ECDSA private CryptoKey into a public key 2024-10-08 13:56:46 -05:00
Alex Gleason
8d1b1b8abc
Add encrypted captcha answer, move AES utils 2024-10-03 19:36:44 -05:00
Alex Gleason
bd3d7fda94
Treat .ts links in statuses as application/typescript
Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/241
2024-10-03 13:02:40 -05:00
Alex Gleason
dfae0b15c7 Merge branch 'use-sticky-notes-zap' into 'main'
refactor(lnurl): use Stickynotes instead of legacy Debug

See merge request soapbox-pub/ditto!528
2024-10-03 16:07:53 +00:00
P. Reis
e42c047362 refactor: use Stickynotes instead of legacy Debug 2024-10-03 12:56:40 -03:00
Alex Gleason
432857c2ff
Rework auth tokens table to use hashed/encrypted data 2024-10-02 18:28:24 -05:00
Alex Gleason
e73a8d71dc
auth: add encryptSecretKey & decryptSecretKey functions 2024-10-02 17:56:30 -05:00
Alex Gleason
70f56af281
Add auth utils for generating/hashing/encoding/decoding tokens 2024-10-02 15:05:37 -05:00
Alex Gleason
350671db47
DittoPglite: prevent starting PGlite instances in worker threads 2024-09-25 14:31:28 -05:00
Alex Gleason
f44b9267ad
Remove unused utils/ipfs.ts 2024-09-25 09:47:51 -05:00
Alex Gleason
6745e96c64
SimpleLRU: fix repeated calls fetching 2024-09-22 16:06:10 -05:00
Alex Gleason
454b362825
deno lint 2024-09-20 13:24:33 -05:00
Alex Gleason
807bc78472
Let caches be configurable 2024-09-20 13:22:45 -05:00