Commit Graph

229 Commits

Author SHA1 Message Date
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
Alex Gleason
d2fb3fd253 Make EventsDB not rely on Conf 2024-09-11 13:06:20 -05:00
Alex Gleason
dc8d09a9da Remove SQLite support 2024-09-11 11:08:33 -05:00
Alex Gleason
a19b7fbe9e Fetch link previews with facebookexternalhit instead of WhatsApp/2 by default, make it configurable 2024-09-07 13:09:10 -05:00
Alex Gleason
8efd6fbb20 Remove unattached_media table, replace with LRUCache, fix media upload order problem 2024-09-07 10:24:56 -05:00
Alex Gleason
ddba16551a Fix rendering mentions inside of URLs 2024-09-07 09:41:43 -05:00
Alex Gleason
0b6ca9dfea Hide non-profile nostr URIs from text 2024-08-28 21:24:50 +02:00
Alex Gleason
ba77787767 Test and fix parsing of URLs 2024-08-28 21:19:07 +02:00
Alex Gleason
7a2a8bd4f5 Wrap URL in a try-catch 2024-08-28 21:15:43 +02:00
Alex Gleason
a63b838195 Fix parsing of regular URLs 2024-08-28 21:02:52 +02:00
Alex Gleason
f9d1eed4dd Remove unnecessary escape characters 2024-08-28 19:46:19 +02:00
Alex Gleason
c2ea4cbfd5 Fix parsing bech32 with apostrophe 2024-08-28 19:38:06 +02:00
danidfra
8d8211de09 Fixed apostrophe issue 2024-08-28 14:01:26 -03:00
danidfra
980e904ea7 Update deno-dom 2024-08-26 15:31:03 -03:00
Alex Gleason
e539a29775 Fetch favicon from NIP-05 domain 2024-08-17 09:21:12 -05:00
Alex Gleason
4db8b2d4fb Throw when creating a replaceable event that doesn't exist yet 2024-08-15 18:10:42 -05:00
Alex Gleason
9b68d2d08a publishEvent: throw errors 2024-08-09 12:44:25 -05:00
Alex Gleason
c7a59b50d0 Fix account search 2024-08-08 18:41:29 -05:00
Alex Gleason
5f1b87c3b6 Pretend to be WhatsApp when fetching links 2024-08-07 21:00:07 -05:00
Alex Gleason
ba241f0431 Rework opengraph 2024-08-07 20:47:53 -05:00
Alex Gleason
72970bf480 Code style changes 2024-08-07 19:01:50 -05:00
Alex Gleason
020736fd47 Escape @ in SSR routes 2024-08-07 18:19:39 -05:00
Alex Gleason
349f59cc70 Merge remote-tracking branch 'origin/main' into opengraph-metadata 2024-08-07 18:19:13 -05:00
Alex Gleason
ab17be219c Fix parseNoteContent test 2024-08-07 17:37:44 -05:00
Alex Gleason
529e61be6d Return properly formatted mentions in Status API 2024-08-07 17:27:22 -05:00
Alex Gleason
8f5ec50a25 search: fix nip05 lookups 2024-08-07 16:41:46 -05:00
Alex Gleason
bc603188fa extractBech32 -> extractIdentifier, support extracting nip05 names 2024-08-07 16:22:10 -05:00
Alex Gleason
d285b7dced Fix Mastodon legacy pagination 2024-08-06 18:20:26 -05:00
Siddharth Singh
612c845f95 get rid of r() and RawHtml from html.ts 2024-08-06 01:51:43 +05:30
Siddharth Singh
16f4048604 way better logging 2024-08-06 01:25:39 +05:30
Siddharth Singh
166106b12b even better kind 0 handling 2024-08-06 00:56:27 +05:30
Siddharth Singh
4f8ebb95f3 hex regex typo fix 2024-08-06 00:26:04 +05:30
Siddharth Singh
6691908fc4 typo 2024-08-06 00:20:58 +05:30
Siddharth Singh
f6bd7fc3a5 fail gracefully if getHandle fails to fetch profile 2024-08-05 23:23:13 +05:30
P. Reis
0a3ed4e160 refactor(zap split): rename amount to weight 2024-08-05 14:41:16 -03:00
Siddharth Singh
c109d06a6e better getHandle 2024-08-05 23:00:08 +05:30
Siddharth Singh
00fe609ef1 fix naked pubkey test regex 2024-08-05 21:36:49 +05:30
Siddharth Singh
2f9dd7e9a2 more logging 2024-08-05 21:34:20 +05:30
Siddharth Singh
a3012d341b log stuff 2024-08-05 21:32:44 +05:30
Siddharth Singh
9175596d5f use nip27 replacer instead of janky regex 2024-08-05 20:24:03 +05:30
Siddharth Singh
2ad81d3fbf sort imports 2024-08-05 20:07:08 +05:30
Siddharth Singh
33da9a41b2 rewrite metadata generation 2024-08-05 20:04:26 +05:30
Siddharth Singh
c7e5aed679 move parseAndVerifyNip05 to utils/nip05 2024-08-05 18:12:53 +05:30
Siddharth Singh
29d7495c39 add site property to OpenGraphTemplateOpts 2024-08-05 15:43:56 +05:30
Siddharth Singh
7e2217ccd8 use entities escape instead of shitty custom one 2024-08-05 15:42:32 +05:30
Siddharth Singh
0706f53b9f sort imports by path 2024-08-05 15:18:17 +05:30
Alex Gleason
4c83d6d1b2 Do frontendController like I want to 2024-08-04 13:26:05 -05:00