426 Commits

Author SHA1 Message Date
Vishal
2e259cb3ac changed version to 0.3.4; improved notifications tree print a bit 2022-12-31 14:31:36 +05:30
Vishal
1dc1317075 added tick marks to long name follows
which wasn't being shown due to wrong logic - fixed that.
2022-12-31 03:32:44 +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
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
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
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
009ca0a074 channel msgs =40 2022-12-28 20:28:55 +05:30
Vishal
1bf4698ee4 when expanding mentions in case p or e is not found then ..
they are mentioned as the id ( p prefixed with @ and e prefixed with #)
2022-12-28 15:06:53 +05:30
Vishal
5071c1f1e6 fix where notifications likes were messing up length
.. and getting shifted to left. By counting the newly inserted color string into the calculations.
2022-12-28 14:55:59 +05:30
Vishal
e301e9b9bf improved and fixed mention expansion using replaceAllMapped
Previous logic was wrong in multiple ways. was only supporting till #[12] and was not supporting multiple mentions of same event. ( replaced it only once)
2022-12-28 11:18:06 +05:30
Vishal
354bcf3d32 version beta b with changes in yml matrix logic
removed old entries to build
2022-12-28 04:34:59 +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 #49 by exiting if too many wrong menu input given
> 40 for now
2022-12-26 18:44:58 +05:30
Vishal
43b7e285ef no functional change
edited some crypto functions
2022-12-26 16:06:50 +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
2ed600bdea pubspec edit 2022-12-25 05:05:31 +05:30
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
b58b722d80 no functional change 2022-12-25 01:36:41 +05:30
Vishal
6562e1511c caught uri error in getchNIP05Info verification method 2022-12-25 01:24:17 +05:30
Vishal
e409e6e9f9 version to 0.3 testing and added some more deraults 2022-12-24 23:14:50 +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
c37783acee did not delete old entries, rather just replaced the relay with new variable
to avoid crashes that i was seeing. with this change, no crash seen in a while...
2022-12-24 21:45:49 +05:30
Vishal
2e48c07e93 changed relay set used 2022-12-24 13:12:16 +05:30
Vishal
f913f97ed8 added two more relays, reduced call for default pubkeys 2022-12-24 12:06:44 +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