218 Commits

Author SHA1 Message Date
vishalxl
522533d444 improved processAnyIncomingEvents in social UI menu. moved events file to scripts/ 2024-09-29 22:59:26 +05:30
vishalxl
cf3ef9fe63 changed relays. added udpate and 300 ms delay in menu 2,1. improved scripts. 2024-09-29 17:05:05 +05:30
Vishal
9f507cc539 fix for issue : showed 10 bytes for followers id when showing profile 2024-04-21 19:06:15 +05:30
Vishal
9142fb3c24 improved profile for users whose contact list wasn't found 2024-04-21 10:41:37 +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
2362b26599 removed debug prints 2024-03-18 08:00:39 +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
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
00125a3b6b fix: fetched follows info.
added user to 2->1 menu option too.
2023-01-17 14:01:36 +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
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
2d603c2aec removed "lightning:" prefix from lud16 qr
now it gets scanned by bluewallet
2022-12-30 20:08:02 +05:30
Vishal
23d61ce422 fix min len issue with lud16 so now it gets printed 2022-12-30 18:31:55 +05:30
Vishal
d8b0be5878 fix to not overwrite a contact list in some cases
when contact list is empty user asked if they want to proceed
2022-12-30 13:29:43 +05:30
Vishal
43f2fab1b4 no functional change 2022-12-30 09:25:23 +05:30
Vishal
01590b6670 Added support for diaplay_name and website in kind 0 2022-12-29 21:22:23 +05:30
Vishal
7a168c8514 notification color fix for git bash; color for likes was not being closed at end . version tag a. 2022-12-29 10:24:26 +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
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
44ffb62c05 added lightning prefix in profile adds 2022-12-27 12:41:35 +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
a64fd45409 printed lnurl if it exists as qr code 2022-12-26 20:23:52 +05:30
Vishal
27ce32bd1b displayed lud16 if people have it in their profile page 2022-12-26 20:09:55 +05:30
Vishal
0959c5019c fix for issue by exiting if too many wrong menu input given
> 40 for now
2022-12-26 18:44:58 +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
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
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
radixrat
a14ad29699 add sort to userprofile, makes it easier to view 2022-12-24 20:11:26 -05:00
Vishal
74f085b616 minor changes
updated defaults list
2022-12-25 03:37:09 +05:30
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
ffa1833ae4 added valid check mark in default users names
based on well known hex pubkeys of such accounts.
2022-12-24 22:08:01 +05:30
Vishal
f913f97ed8 added two more relays, reduced call for default pubkeys 2022-12-24 12:06:44 +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
922377a4e4 added 500 ms delay after kind 1 send
added ln to qr code but did not use it.
commented out re-broadcast section.
2022-12-22 18:42:54 +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
6264eb35a8 enc invite ui fix 2022-12-08 00:39:05 +05:30
Vishal
6d5cbde5f4 added t tag to messages with #tags 2022-12-05 11:57:34 +05:30
Vishal
49d8847105 created tag rooms 2022-12-05 10:12:16 +05:30
Vishal
6b00b899b6 updated test cases and test data file 2022-12-04 18:51:43 +05:30
Vishal
018bd585db added location tag support
events with same location tags gets clubbed into same channels
2022-12-04 18:42:07 +05:30
Vishal
f8126c4c73 supported location tag only in kind 1
and kind 7  reaction
2022-12-04 14:38:43 +05:30