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
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
Alex Gleason
099fec6e31
Increase nip05 cache to 3000, link previews to 1000
2024-09-20 13:13:26 -05:00
Alex Gleason
58bf286ce0
Add cache metrics
2024-09-20 12:34:54 -05:00
Alex Gleason
084e3c8341
note: test that mentions with commas get parsed correctly
2024-09-20 11:46:14 -05:00
P. Reis
b13e924001
fix: build search and also return it in countAuthorStats() function
2024-09-20 10:25:47 -03:00
P. Reis
578f269a65
refactor: countAuthorStats() function does not return search
2024-09-20 09:55:25 -03:00
P. Reis
ebeb150463
refactor: use search in author_stats
2024-09-19 19:37:13 -03:00
P. Reis
1b6e9160ec
test: update to use author_stats table
2024-09-19 19:36:44 -03:00
P. Reis
2727523540
feat: order search by followers count also
2024-09-19 19:36:13 -03:00
P. Reis
2f27e22b4c
test(getPubkeysBySearch): change search query
2024-09-19 10:15:41 -03:00
P. Reis
148e714863
fix(pg_trgm): use <% instead of %
2024-09-19 10:07:04 -03:00
P. Reis
4ae17c4993
refactor: make getPubkeysBySearch() function return Set<string>
2024-09-18 14:15:18 -03:00
P. Reis
f1c0d8c18f
refactor(getPubkeysBySearch): rename followList to followedPubkeys
2024-09-18 11:30:41 -03:00
P. Reis
f73b20bf03
refactor: make getPubkeysBySearch() function use set of strings Set<string>
2024-09-17 14:50:33 -03:00
P. Reis
8cd212e407
test: add missing argument in getPubkeysBySearch() function
2024-09-17 11:09:39 -03:00
P. Reis
52001373e0
feat: show users you follow first in search
...
getPubkeysBySearch() function refactored to accept a followList argument
2024-09-17 11:04:27 -03:00
P. Reis
2fe6a8fde5
refactor: move getPubkeysBySearch () function to a new location
2024-09-16 14:24:26 -03:00