Commit Graph

248 Commits

Author SHA1 Message Date
Vishal
4d88a8015d Added test cases. improved incoming processing of new events, so that doublets for same top thread don't happen 2025-08-25 21:27:43 +05:30
Vishal
2747d41f4c Added support for adding mentions 2025-08-05 17:21:55 +05:30
Vishal
108cf56424 improved processIncoming, so there aren't two top nodes for same dummy event 2025-08-03 10:15:02 +05:30
Vishal
666031836e added support for nevent and nprofile at least partially ( no attempt to get them from relays) 2025-07-30 22:08:00 +05:30
vishalxl
403014b6c9 Added new menu item, which shows posts/likes etc by Mutual Follows 2025-06-08 20:58:50 +05:30
Vishal
f61a6bbd41 Handled case where some kind 40 don't have json, only text; otherwise it was crashing on starting 2024-06-09 15:29:27 +05:30
Vishal
151a00c22a added flag userRelevant to improve event printing at end. now every event that's printed for user gets saved at end 2024-04-21 09:38:43 +05:30
Vishal
bda7464595 Added support for nsec/npub in command line invocation as pubkey and pivate keys. expanded nostr: type mentions for user and notes 2024-04-06 21:23:17 +05:30
Vishal
b9ac5538b3 added analysis_options.yaml and ran lint and applied changes 2024-03-31 17:14:01 +05:30
Vishal
7a3a2247c4 changed relays. saved group events too at end. changed relay variable 2024-03-17 22:25:17 +05:30
Vishal
cc048e388d fixed room order in private chat 2024-03-10 16:47:51 +05:30
Vishal
9d60d1e778 Changed public menu. changed sort order in channels so that latest channels are displayed at bottom nearer to menu 2024-03-09 10:47:02 +05:30
Vishal
225a263e04 avoided using relay set 2 totally, re added damus relay 2023-01-29 04:00:00 +05:30
Vishal
b5a5e93beb added some relays in test config file
no functional change in nostr_console_test.dart

changed text of 'missing' events.
2023-01-29 02:16:45 +05:30
Vishal
8a771a80e3 Merge branch 'main' of https://github.com/vishalxl/nostr_console 2023-01-17 11:00:46 +05:30
Vishal
a1c54c08a7 fixed case where wrong events were higlighted
and improved or changed option 2->1 so that now it prints popular accounts too apart from follows. 2->6 prints only follows.
2023-01-17 11:00:21 +05:30
Vishal
c50607119e Fix code so channel create without about shd not crash 2023-01-04 10:54:14 +05:30
Vishal
2e259cb3ac changed version to 0.3.4; improved notifications tree print a bit 2022-12-31 14:31:36 +05:30
Vishal
9a5b0b48ba fixed code so that wrong notifications don't get printed
it was printing every thread where any follow was involved; and was highlighting them too.

now only follows posts/likes are highlighted and shown as notifications. reduces the flood of notifications.
2022-12-31 03:00:39 +05:30
Vishal
27c33d9137 fix issue where dm sent to user were not saved
saved them now to file.
2022-12-30 09:43:43 +05:30
Vishal
43f2fab1b4 no functional change 2022-12-30 09:25:23 +05:30
Vishal
e5027dd9db 0.3.3-beta
removed recent hello world spam code
2022-12-30 08:49:44 +05:30
Vishal
01590b6670 Added support for diaplay_name and website in kind 0 2022-12-29 21:22:23 +05:30
Vishal
255f664021 specific spam prevention 2022-12-29 16:26:43 +05:30
Vishal
dd9e9a3c02 changed display filters and saving logic
displyed global feed.

and in incoming notifications, only showed notifications for follows.

In writing events, only writing follow's events. and the ones they interact with.

now all follows have a tick; no tick for defaults
2022-12-29 02:20:58 +05:30
Vishal
2edf5bb361 added some unused code for isRelevant logic in writing to file 2022-12-28 21:18:49 +05:30
Vishal
97ed8ac742 fixed issue where names were printed only 4 chars long in direct room overview
set channel msgs printed to 18 , old default.
2022-12-28 21:06:02 +05:30
Vishal
a9b71b1140 fixed issue where a well known key's about me ...
.. name was appended with a tick if they edited their profile.
2022-12-28 01:00:34 +05:30
Vishal
e11c374d66 fixed issue where had to go to main menu from SN menu to get notifications
improved notification count and display with recent clipped-thread change
2022-12-27 12:08:30 +05:30
Vishal
99ede3aa10 now lud06 and 16 both printed as qr code
added nostr.ch as relay for anigma sync, as its the default with anigma
2022-12-27 00:26:04 +05:30
Vishal
536c412173 improved on logic of printing fewer events per thread 2022-12-26 23:47:07 +05:30
Vishal
f8074d9d2a printed only 20 maximum events in a thread to reduce screen spam from long threads
renamed lnurl to lud06 which is what it is
2022-12-26 23:19:22 +05:30
Vishal
27ce32bd1b displayed lud16 if people have it in their profile page 2022-12-26 20:09:55 +05:30
Vishal
9abe554bd5 Improved menu options 2-5 and 2-6
and used the same functions ( which now accept array of pubkeys)
2022-12-26 15:28:24 +05:30
Vishal
b6144c1bf4 made treeSelectorRepliesAndLikes more generic
which can be invoked with set of pubkeys. to be used with follows too.
2022-12-26 13:57:44 +05:30
Vishal
fe131ecc89 improved 2 -> 5. better printing. and fixed white after reaction highlighted issue 2022-12-26 13:05:58 +05:30
Vishal
e7658a949d in menu 2->7 word search, now events can be searched by..
.. fewer letters, minimum 6 only. it was full event id before.
2022-12-26 12:38:31 +05:30
Vishal
a865b5c1c6 improved notifications in menu 2->3 2022-12-26 12:12:50 +05:30
Vishal
6e05556513 latest shown for only 6 hours
* notifications shown for minimum 24 hours
* other minor improvements related to qr code, tree ui in menu function,

* added :- with ln qr so qr is printed on next line, otherwise it wasn't due to some whitespace trim

* --width will override LN qr width change
2022-12-25 20:25:08 +05:30
Vishal
d79b14ebee improved ln qr generation. added --qrln flag 2022-12-25 13:51:28 +05:30
Vishal
85515771d5 sorted mutual follows list too in printProfile 2022-12-25 11:19:31 +05:30
radixrat
a14ad29699 add sort to userprofile, makes it easier to view 2022-12-24 20:11:26 -05:00
Vishal
62d838edb5 improved check mark display
names were cut where they didn't needed to be cut.
2022-12-25 02:07:31 +05:30
Vishal
2e48c07e93 changed relay set used 2022-12-24 13:12:16 +05:30
Vishal
05f884e2fb got enc channels too at start
this resolves the issue seen with enc channel events not being received.

undid previous commit about enc group fix, which wasn't a fix..
2022-12-24 11:44:26 +05:30
Vishal
d393acdef8 fixed issue where enc group invite was not properly processed at the start 2022-12-24 11:22:09 +05:30
Vishal
1d66a25cb0 changed version to 0.2.8 2022-12-24 01:44:20 +05:30
Vishal
91fa45a8c6 reduced events fetched
.. to about 30k for my own username.

This reduces connection which seems to improve relay response.

added file user.dart with mostly old code.
2022-12-23 20:08:41 +05:30
Vishal
91ddb3911b improved fetching or requests
added zbd relay and more
added more default initial users to fetch
2022-12-22 06:58:02 +05:30
Vishal
cce709eef1 fixed issue where message to encrypted group wasn't going 2022-12-05 22:13:09 +05:30