Commit graph

2436 commits

Author SHA1 Message Date
Siddharth Singh
b4f8cd894f
make command execution over ssh way neater 2024-09-30 11:15:24 +05:30
Siddharth Singh
267e8e8930
create remote init command 2024-09-30 10:11:26 +05:30
Siddharth Singh
4300153969
add (admittedly pretty janky) help generation to Command 2024-09-30 10:10:57 +05:30
Siddharth Singh
f87e76d624
.action --> doAction 2024-09-30 02:39:05 +05:30
Siddharth Singh
f452e8324f
overhaul identity file detection and resolution 2024-09-30 02:38:32 +05:30
Siddharth Singh
7ce1b9e2b7
lockfile 2024-09-30 02:37:47 +05:30
Siddharth Singh
3c760e2b71
fix tests 2024-09-28 00:44:01 +05:30
Siddharth Singh
f63392fb01
add node-ssh dependency 2024-09-27 23:48:11 +05:30
Siddharth Singh
9f034fdf1d
get rid of setupCli, use .option() to configure global methods 2024-09-27 23:47:44 +05:30
Siddharth Singh
8ab5e19499
nicer subcommand api 2024-09-27 23:46:47 +05:30
Siddharth Singh
2afb859027
clean up daft parsing behaviour 2024-09-27 23:40:12 +05:30
Siddharth Singh
4a432e6a23
nicer error handling 2024-09-27 21:29:01 +05:30
Siddharth Singh
8511ae2137
switch over to new CLI parser 2024-09-27 21:25:01 +05:30
Siddharth Singh
5b09a99729
split up utils 2024-09-27 21:24:17 +05:30
Siddharth Singh
4f94309ec2
skeleton of how args are gonna look 2024-09-26 18:07:25 +05:30
Siddharth Singh
055716fd97
switch to deno @std/cli based parser 2024-09-26 17:53:08 +05:30
Siddharth Singh
10cb65e60f
throw out commander in favour of homegrown argument parser 2024-09-17 21:04:26 +05:30
Siddharth Singh
7b5cbdb525
no need for headless setup now, in theory 2024-09-17 18:25:36 +05:30
Siddharth Singh
8c87e87a37
test with only config:set variables 2024-09-17 18:15:10 +05:30
Siddharth Singh
e86e26eea9 Fix lockfile
# Conflicts:
#   deno.lock
2024-09-17 11:09:15 +00:00
Alex Gleason
e0dee33aec Merge branch 'pglite-debug' into 'main'
Add PGLITE_DEBUG environment variable

See merge request soapbox-pub/ditto!493
2024-09-16 17:36:50 +00:00
Alex Gleason
8e3ddaa056
Add PGLITE_DEBUG environment variable 2024-09-16 12:31:50 -05:00
Alex Gleason
4d0ae401b3 Merge branch 'fix-postgres-password-input' into 'main'
Change setup.ts to use password input instead of plaintext

See merge request soapbox-pub/ditto!492
2024-09-16 00:28:00 +00:00
Siddharth Singh
0dcb1965be
Change setup.ts to use password input instead of plaintext 2024-09-16 05:52:51 +05:30
Alex Gleason
a87497380a
Make pipeline query easier to look at 2024-09-15 19:22:14 -05:00
Alex Gleason
718795fcd1 Merge branch 'fix-postgresjs-error' into 'main'
Fix ambiguous postgres.js errors

Closes #205

See merge request soapbox-pub/ditto!491
2024-09-16 00:03:39 +00:00
Alex Gleason
5a98ba86bf
Fix ambiguous postgres.js errors 2024-09-15 18:58:34 -05:00
Alex Gleason
8510f22d1b
Only save the nip05 in author search if it's valid 2024-09-15 18:33:16 -05:00
Alex Gleason
a8df213aec Merge branch 'language-detection' into 'main'
Support NIP-50 language extension

See merge request soapbox-pub/ditto!489
2024-09-15 23:11:30 +00:00
Alex Gleason
394021e485
Don't use semi-colons in migration 2024-09-15 17:38:16 -05:00
Alex Gleason
642ecfd36f
Rename language migration to 033 2024-09-15 17:26:02 -05:00
Alex Gleason
8da223ad6c
Merge remote-tracking branch 'origin/main' into language-detection 2024-09-15 17:25:36 -05:00
Alex Gleason
580e773bfc Merge branch 'enchance-profile-search' into 'main'
Enchance profile search

Closes soapbox#1710

See merge request soapbox-pub/ditto!488
2024-09-15 21:46:49 +00:00
P. Reis
dc69f21e0b refactor: write map function in a cleaner way 2024-09-15 17:46:10 -03:00
P. Reis
c5711ea071 refactor(accountSearchController): only reassign events if event is undefined 2024-09-15 17:42:58 -03:00
P. Reis
ed74b2464a refactor: write it like a normal if statement 2024-09-15 17:42:26 -03:00
P. Reis
3b8a800cd2 refactor(search enchance): map over pubkeys instead of events 2024-09-15 17:27:56 -03:00
P. Reis
d7ae3722c8 refactor: insert each event per iteration in for loop - db:populate-search 2024-09-15 16:52:49 -03:00
Alex Gleason
f8902760ce
Make the language index a compound index 2024-09-15 13:37:23 -05:00
Alex Gleason
eede3909b1
Upgrade @nostrify/db to fix table joins 2024-09-15 13:05:54 -05:00
Alex Gleason
c24d11c6f3
Support NIP-50 language extension 2024-09-15 12:40:58 -05:00
P. Reis
f99ea7c33f refactor(getPubkeysBySearch): cast as string 2024-09-13 18:57:47 -03:00
P. Reis
197b2c8c8b refactor(populate search script): use store.req instead of streaming 2024-09-13 18:49:20 -03:00
P. Reis
b3e56320a0 feat(accountSearchController): return accounts in autocomplete form 2024-09-13 18:41:20 -03:00
P. Reis
6387ee440c feat: return multiple accounts in searchController 2024-09-13 16:36:01 -03:00
P. Reis
69c2158131 refactor: return ordered accounts by similarity relevance in searchEvents() function 2024-09-13 16:20:56 -03:00
P. Reis
be76197e3a refactor: remove handleAuthorSearch() function and put its logic inside parseMetadata() function 2024-09-13 16:20:52 -03:00
P. Reis
935cc7c5a5 refactor: remove NIP-50 search if looking for accounts, use same filter 2024-09-13 14:33:34 -03:00
Siddharth Singh
57a16e7b78
add std/fs dependency 2024-09-13 20:57:58 +05:30
P. Reis
a974f4230d Merge branch 'main' into enchance-profile-search 2024-09-13 10:34:45 -03:00