563 Commits

Author SHA1 Message Date
Vishal
de187b18a1 fixed where blank kind 1 or 42 were being converted to '+'
as part of wrong reaction processing.
2022-11-26 18:10:25 +05:30
Vishal
d6ae371623 fixed issue where double top trees were built
when a dummy top tree was being received

As tested with event id 0245d18adb696127a6ba67e1be9c2f9ebd7ad61c28d9aae631c30b6d60392ee0
2022-11-26 01:27:54 +05:30
Vishal
04e83323e5 handled reactions properly
and fixed issue with wrong logic with kind 3 ( where kind 0 was overwriting info about kind 3)
2022-11-26 01:04:12 +05:30
Vishal
d935cb24e4 removed debug msgs 2022-11-25 20:59:31 +05:30
Vishal
aae2477ee4 for build 2022-11-25 20:38:19 +05:30
Vishal
f583a2e6c6 Update pubspec.yaml 2022-11-25 20:35:10 +05:30
Vishal
b2c16d3785 fix for nip08 placeholder being accessed out of range
with a number like #[11]
2022-11-25 20:33:08 +05:30
Vishal
32bc7d2bc0 used kind 104 to send shared secret for kind 14x
also internally improved logic that encrypted channels internal structures are created by first looking at kind 104  (secret kind id)

mentioned version 0.1.9-beta
2022-11-25 19:26:12 +05:30
Vishal
03317a1dfa info text improvement v0.1.8-beta 2022-11-24 21:03:43 +05:30
Vishal
a1014f9c1a added cls and improved ui related to word search 2022-11-24 19:08:34 +05:30
Vishal
8f7b7b03e2 added new social network menu 2022-11-24 18:20:31 +05:30
Vishal
2e2793675e version 0.1.7 v0.1.7-beta 2022-11-23 22:40:58 +05:30
Vishal
40120093d5 made initial wait 8 sec each, and later wait 1 sec each 2022-11-23 22:38:35 +05:30
Vishal
e346033944 unused code to fetch events liked but not seen 2022-11-23 17:40:09 +05:30
Vishal
1065cb3b70 processed events, added delay, after sending kind 1 post
and improved option 6 -> 9 print info
2022-11-23 13:42:54 +05:30
Vishal
5a35516bd4 printed more info for nip05 list
and for multiple users printed
2022-11-22 13:02:19 +05:30
Vishal
bc64b202f4 improved info printed if more than one account is listed
added about info
2022-11-22 12:17:08 +05:30
Vishal
f2356d85fa added more tests for url breaking
and improved logic too
2022-11-22 11:47:50 +05:30
Vishal
ea062ebf88 added support for '#' in url when not breaking one
and imporved logic for kind 0 processing ( tested with b10 account)
2022-11-22 04:08:32 +05:30
Vishal
916da86ebf text changes v0.1.6-beta 2022-11-22 02:11:34 +05:30
Vishal
bb2c82f8d4 build 0.1.6-beta 2022-11-22 02:00:44 +05:30
Vishal
3eb5aadb7a Added support for kind 1 mentions of events (issue 30)
And '/reply id' for encrypted group chat.
2022-11-22 01:58:36 +05:30
Vishal
0eb0380bea improved previous commit 2022-11-21 14:59:38 +05:30
Vishal
d833677cf9 ensured that even if a user does not have a kind 0 event..
.. even then their pubkey is stored in the gKind0 store, so that their profile can still be looked up with profile view in 6 -> 1
2022-11-21 13:57:53 +05:30
Vishal
6ad8001ae8 fixed so that newer nip05 id's will supersede older ones
tested with my own two id's with raw.github and github.io id's
2022-11-20 18:46:27 +05:30
Vishal
4b5c88fba4 new 0.1.5 release v0.1.5-beta 2022-11-20 13:43:06 +05:30
Vishal
cd51b156a8 removed support for back slash
added support for nip05 in edit profile or kind 0 generation
2022-11-20 13:18:45 +05:30
Vishal
71d79b366b deleted well known 2022-11-19 23:15:42 +05:30
Vishal
94ba6d7c80 added well known 2022-11-19 23:13:14 +05:30
Vishal
b3806b21f4 added support for backslash
otherwise \ isn't being sent normally ( or not being read)
2022-11-19 22:11:34 +05:30
Vishal
0365947c3f added support for writing double quotes
in social networ, and in public channel posts and replies.

Improved verify sig function, but its still not used ( and it fails for some specific events with pubkey starting with 00 and a minority of other events with special chars in them)
2022-11-19 21:17:39 +05:30
Vishal
2e207ef054 enabled relay argument
new relay is added to list of relays used.
2022-11-19 15:51:12 +05:30
Vishal
245aa36f4c touched settings to get minimal events.
saved more so that need to get less with file.
2022-11-19 14:16:35 +05:30
Vishal
d7c60c6096 Put in test so that DM sent to invalid pubkeys aren't taken as valid
invalid here means pubkeys with too many 0's in beginning ( 32 right now)
2022-11-18 20:15:38 +05:30
Vishal
f305437862 changed name colors a bit; handled case if incoming DM is wrong format
little change of looking up name so one letter names can be looked up
2022-11-18 19:57:59 +05:30
Vishal
00c990d395 improved reply tag logic.
issue 20c  on github.
2022-11-17 01:52:57 +05:30
Vishal
e22ad99913
added a screenshot of channel 2022-11-16 21:45:00 +05:30
Vishal
65d957aae2 working docker file for nostr terminal
docker run -it remote_nostr_console     start
2022-11-16 17:57:10 +05:30
Vishal
fa676a3d7d working docker file 2022-11-16 15:59:09 +05:30
Vishal
128841d067 added docker file which isn't working
issue is that readlinesync in docker is not reading anything from input.
2022-11-16 15:18:53 +05:30
Vishal
dde9236dfc
Update README.md 2022-11-16 11:45:12 +05:30
Vishal
86f056b1a3 changed version to 0.1.4-beta v0.1.4-beta 2022-11-16 10:54:39 +05:30
Vishal
68feb7737c to build 2022-11-16 10:51:56 +05:30
Vishal
4865383af1 added printVerified but didnt use it yet 2022-11-16 10:51:08 +05:30
Vishal
25191dc675 added support for another positive emoji as reaction
two hands emoji
2022-11-15 10:53:44 +05:30
Vishal
b8ee45cf08 added support for heart as reaction
counted that as a + like
2022-11-15 10:51:34 +05:30
Vishal
20a599c539 reduced a line in main menu
clubbed user name print with prompt after menu display
2022-11-15 10:26:16 +05:30
Vishal
828313d940 improved so that user mentions do get stored in file at the end
and removed the 'recent only' condition when handling incoming events.
2022-11-15 08:49:06 +05:30
Vishal
afa29325ff Merge branch 'main' of https://github.com/vishalxl/nostr_console 2022-11-15 07:55:39 +05:30
Vishal
20443d2408 nip05 support: shown in profile
and mentioned in 'show profile' and 'follow user' use cases if more than one profile are there.
2022-11-15 07:55:35 +05:30