Vishal
438838af33
showed mutual follows in profile for self
2022-09-08 19:22:18 +05:30
Vishal
cb8c74bef3
sorted channels by latest event
...
made them into a list like directRooms in Store
2022-09-08 18:50:30 +05:30
Vishal
ef75ba3fad
if a user is followed, their events are requested too
2022-09-07 04:46:37 +05:30
Vishal
0eff610aeb
some tweaks in time, reduced wait initially
...
from 3 to 2 sec in variable
2022-09-07 04:32:11 +05:30
Vishal
11972d5328
combined ptags with contact req, so now its 30% faster initially with 2 future delays only
...
also got req for mentions using #p so any anon account that replies to user will show up
2022-09-07 02:54:01 +05:30
Vishal
8dafca67cd
now getting kind 0, 3 event too
...
added + for top event
2022-09-07 02:10:32 +05:30
Vishal
03ef8e5cf0
added overwrite flag. improved chat display.
2022-09-06 03:40:34 +05:30
Vishal
777e644ae5
Improved how room is printed
...
made name take more width; other minor changes
2022-09-06 00:20:55 +05:30
Vishal
bf0691dbcd
dms enabled
...
new user can be messaged by adding their pubkey in option 2 in private messages
2022-09-05 22:48:11 +05:30
Vishal
181dd1c883
fixed issue with reading wrong pubkey when decrypting
...
all dm's can be read now. and padding is removed too.
2022-09-05 17:14:34 +05:30
Vishal
5afc4b4074
minor code changes
2022-09-04 19:01:39 +05:30
Vishal
dd717a289b
improved text breaks when printing
...
and moved realignment of screen into menu for better results
2022-09-04 18:34:25 +05:30
Vishal
b0af54f353
improved channel name lookup and now initially network events are shown as notifications
2022-09-04 14:51:04 +05:30
Vishal
f9eec2731d
improved channel message printing and related
2022-09-04 00:15:33 +05:30
Vishal
2d070cc8ce
support for delete and hiding, fixed and new code
2022-09-03 21:18:50 +05:30
Vishal
e21cf63d49
event deletion can now be done with predix-id too
2022-09-03 08:56:10 +05:30
Vishal
e4e5be6bf9
put dm in separate menu.
...
fixed issue where new dm decryption was crashing when logged in with pubkey only.
2022-09-03 04:55:30 +05:30
Vishal
d0ecb4ff0b
fixed issues introduced in last few commits
...
Where Tree was formed first, and then lot events were being inserted into it. This is not supported yet. So now events are collected initially, and then Tree is formed.
also fixed issue that new kind 0 events were not getting handled, which result that lists were not printing names.
2022-09-03 03:29:36 +05:30
Vishal
7c3bb36c63
read received DM. showed them.
...
cant send DM, nor read sent DMs.
2022-09-02 01:14:23 +05:30
Vishal
74541890b4
improved channel logic
...
fix: put messages in order in channels
improved dm menu. encryption etc still todo.
2022-09-01 21:55:51 +05:30
Vishal
582c422792
added dm to menu and displayed them but no en/decryption done yet
2022-09-01 16:57:57 +05:30
Vishal
ec83360ce6
added delete option in other menu, event is only sent
...
not handled yet.
2022-09-01 04:44:11 +05:30
Vishal
b153f29f20
Code refactoring: Separated out class Tree from main object Store
...
No functionality change intended.
2022-09-01 03:51:57 +05:30
Vishal
2b7c3e3124
Imporoved logic so that main tree is created with file events, and net events are later added to it.
...
Makes it easier to track so that later only net events are printed.
2022-09-01 00:40:00 +05:30
Vishal
eacc3bc1d0
Improved contact saving/access
...
.. by saving latest contact info in global structure with kind 0 info ( meta information). Makes profiles faster.
2022-08-31 22:15:17 +05:30
Vishal
20f5295e54
fixed nonce tag. sent event to multiple relays.
2022-08-31 04:24:37 +05:30
Vishal
a03916fea4
now user can add a new contact even when they dont have a previous kind 3 event
...
also put checks about 64 byte lengths on keys supplied on command line
2022-08-31 02:45:09 +05:30
Vishal
1137068f68
added basic page support for channels with too many messages. 15 msg per page now are displayed.
2022-08-30 23:47:59 +05:30
Vishal
5a24daa7c2
Merge branch 'main' of https://github.com/vishalxl/nostr_console
2022-08-30 20:22:26 +05:30
Vishal
9eb58020d7
added search by event id, along with search by word
2022-08-30 20:22:21 +05:30
Vishal
9be9c2f681
Merge pull request #10 from sven-hash/main
...
add new relay
2022-08-30 19:34:11 +05:30
Vishal
0cd7105548
added difficulty option with max diff of 24 bit
2022-08-30 19:09:56 +05:30
cgi-bin/
b9245a62f8
typo
2022-08-30 14:30:47 +02:00
Vishal
d955ee7efe
ran dart analyze and fixed issues
2022-08-30 14:58:27 +05:30
Vishal
f64a3d670e
formatting changes
2022-08-30 14:15:22 +05:30
Vishal
1e493147e8
improved notification logic, added some pow code but unused now, added large intro print
2022-08-30 03:07:32 +05:30
Vishal
a4e687d806
added another treeSelector so that only events with likes etc are printed. minor refactoring.
2022-08-29 19:08:00 +05:30
Vishal
01b5b82228
used unique names for subscription strings, used set of events rather than list, and called multiple relays for third call in main
2022-08-28 05:33:01 +05:30
Vishal
b87cb0346b
fixed issue where client tag was being sent with kind 3 event whereas it only has p tags
2022-08-28 02:30:09 +05:30
Vishal
0318202401
Removed extra print statement
2022-08-28 00:20:05 +05:30
Vishal
6c2a23c689
fixed so that event is not sent if replyTo id is not valid. reordered menu. added about/picture.
2022-08-27 23:55:01 +05:30
Vishal
5784811ce0
fixed tag with new contact list, mentioned client
2022-08-27 19:10:57 +05:30
Vishal
2796930cb2
fixed tag logic for client tag; other minor changes including basic test for French
2022-08-27 16:26:45 +05:30
Vishal
a09c046787
Added color option and made file as default of name all_nostr_events.txt which can be disabled with --disable-file
2022-08-27 13:28:36 +05:30
vishalxl
5a86a0e663
improved processReaction so double reactions aren't printed, only 1 as needed for each reaction
2022-08-27 03:25:47 +05:30
vishalxl
bb16c30f63
Nip 10 followed where top event id is added as first e tag, and the replied to event is added as second event tag. fixed issue when events when inserted into tree were getting lost if they did not have a parent existing. created dummy for them.
2022-08-26 21:24:37 +05:30
vishalxl
a9fd81e7c1
added better notifications to different searches
2022-08-26 12:56:20 +05:30
vishalxl
6515958cd8
fixed json decode issue. added more profile info including distance. added search by client
2022-08-26 12:41:30 +05:30
vishalxl
418c3e6b7a
improved channel list printing
2022-08-26 03:57:50 +05:30
vishalxl
58d605470f
improved logic in case terminal width is less than 120 etc
2022-08-26 00:40:48 +05:30