330 Commits

Author SHA1 Message Date
Vishal
7343a58320 improved channel and DM display and added menu info v0.1.0-beta 2022-11-07 11:57:23 +05:30
Vishal
6b856eccd0 improved channel display and count shown 2022-11-07 11:24:21 +05:30
Vishal
1a885daad8 reduced internal events store
.. to improve speed of initial processing. Now keeping only latest 20 days posts.

improved info print.

improved fetching of events.
2022-11-06 23:45:31 +05:30
Vishal
5ec0635f39 added delay when sending group message
and changed menu text a bit
2022-11-06 17:00:09 +05:30
Vishal
a217fd9570 x now exits from any menu
where x represents the last menu option to exit the menu or application
2022-11-05 13:01:53 +05:30
Vishal
710a81c320
Update README.md v0.0.9-beta 2022-11-05 00:33:37 +05:30
Vishal
cd48fe5f68 printed some info for encrypted channels 2022-11-05 00:32:26 +05:30
Vishal
b37b903261 added mySign function 2022-11-04 22:04:15 +05:30
Vishal
00546adbbd handled blank reactions as + reactions for damus 2022-11-04 00:02:17 +05:30
Vishal
c37e2b038f improved ordering of channel display
.. by correctly placing empty channels depending on their creation date.

improved kind 0,3 fetching.

improved display around channel menu and printNotifications.
2022-11-03 23:25:28 +05:30
Vishal
212df566c6 specific spam prevention 2022-11-03 01:00:53 +05:30
Vishal
202f1d14e2 added colored warnings in console_ui
* some extra spam prevention ( avoided bots from 4, 42, 142) and added a spam address
* reduced initial days fetched if events are read from file
2022-11-02 20:29:34 +05:30
Vishal
02a631faac honoured time order for 140/141
.. by using channel.lastUpdated which tracks which is the latest such event for a channel.
2022-10-30 13:24:13 +05:30
Vishal
644740ad25 fixed keys less than 64 bytes, and encrypted channel improvements
made so that live updation/decryption of messages can happen when user is added using 141 event. to be tested.
2022-10-30 11:46:51 +05:30
Vishal
5e7ed002bf fixed typo issue so that newly created encryped channel ..
.. is reflected immediately in list.
2022-10-30 00:52:04 +05:30
Vishal
a93afee49d added encrypted channels
user can create and update private channel. and command /add <pubkey> is supported to add more people to group.
2022-10-30 00:27:11 +05:30
Vishal
e4f9cb2e40 improved addMessageToRoom fn, and added test to count messages in a channel 2022-10-29 11:17:17 +05:30
Vishal
baedc072e3 dart.yml changed to include more verbose tests for Ubuntu 2022-10-29 11:03:28 +05:30
Vishal
7372cd4ea8 added root/reply tag to kind 1 posts
added test case to read event file. Uploaded that file too.

returned eventID if parent does not exist ( which was a bug)
2022-10-29 11:01:26 +05:30
Vishal
5e888e06a5
Update README.md 2022-10-20 10:25:04 +05:30
Vishal
b19379a94b
Update README.md 2022-10-20 07:48:20 +05:30
Vishal
57dfc52521 fixed crash which showed when contact list went above 100 2022-10-12 02:48:15 +05:30
Vishal
5bd074211f supported delete for channel posts 2022-10-11 04:47:32 +05:30
Vishal
d0d7d4be09 Merge branch 'main' of https://github.com/vishalxl/nostr_console 2022-10-11 01:55:56 +05:30
Vishal
77fd4d62e7 improved delete event by adding delay to process incoming 2022-10-11 01:55:54 +05:30
Vishal
74fe541110
Update README.md 2022-10-08 22:08:36 +05:30
Vishal
c2ea44e201 Update pubspec.yaml v0.0.8a-beta 2022-10-07 03:19:59 +05:30
Vishal
97d2a18aad caught translate exception
fixes the translate crash
2022-10-07 03:16:58 +05:30
Vishal
8ae05a6dd3 fixed process of incoming when in a channel 2022-10-07 02:13:06 +05:30
Vishal
640acaa149 Update pubspec.yaml 2022-10-06 04:40:47 +05:30
Vishal
446d64485d called process incoming function in channel post
.. and in DM send, so that now sent messages are also received and processed, giving better UI.
2022-10-06 04:40:28 +05:30
Vishal
0b6c2409b9 create channel 2022-10-06 01:33:39 +05:30
Vishal
226da25951
Update README.md 2022-09-28 02:18:44 +05:30
Vishal
85d594e33a fixed so that date does get printed in channel view 2022-09-25 02:42:54 +05:30
Vishal
a32e68affd fixed two issues - gStore and getParent
initialized gStore for --request case

And, fixed getParent for event, since otherwise it would return wrong parent. Now it would result in a dummy parent, as it should.
2022-09-24 13:51:14 +05:30
Vishal
b30047baa9 only formatting changes 2022-09-22 17:36:07 +05:30
Vishal
9059bdf1f7 expand mentions in incoming DM's 2022-09-18 23:46:51 +05:30
Vishal
c7551d5dfd improved direct room printing 2022-09-18 02:33:54 +05:30
Vishal
73ddf92a57 got users events separately
otherwise its not fetching events for some users
2022-09-18 02:24:27 +05:30
Vishal
73e1759912 Release 0.0.7-beta fixed contact fetching v0.0.7a-beta 2022-09-17 23:58:08 +05:30
Vishal
98444b2336 Merge branch 'main' of https://github.com/vishalxl/nostr_console 2022-09-17 23:57:36 +05:30
Vishal
4163d81c9d fix: was not fetching contact
due to mistype was not fetching any contact at all. fixed that.
2022-09-17 23:57:33 +05:30
Vishal
9d38fe0442
added todo section 2022-09-17 13:48:30 +05:30
Vishal
6a4363be19 removed zip file 2022-09-17 13:28:54 +05:30
Vishal
4d246f2dd2 put debug messages in debug 2022-09-17 13:26:27 +05:30
Vishal
2a50d09e17 fixed exception on name lookup in json in tree
also added notifications in other menu for sending contact addition event
2022-09-17 05:41:00 +05:30
Vishal
ea250f8b72 fix for getParent function
which should return the last e tag, which is a type 1 event for social network.

wasn't doing the check for kind 1, previously which has been fixed now, precipitated by event c185bb5473912f2ad74d7d0d25464af0ddeaab0261af32d4de66709b99928ac0

which refers to a kind 42 event at end, which was being taken as parent id.
2022-09-16 22:28:42 +05:30
Vishal
a3d27ada84 properly updated channel for incoming 42 message
Otherwise it was going to wrong/new room if it was a reply.
2022-09-15 21:30:14 +05:30
Vishal
7650efbc0c fixed how word is broken at non-space char 2022-09-15 14:25:17 +05:30
Vishal
ecca05e771 only comments change v0.0.7-beta 2022-09-15 02:43:16 +05:30