360 Commits

Author SHA1 Message Date
Vishal
2d070cc8ce support for delete and hiding, fixed and new code 2022-09-03 21:18:50 +05:30
Vishal
e21cf63d49 event deletion can now be done with predix-id too 2022-09-03 08:56:10 +05:30
Vishal
d5b6c31a61 build where dm can be read 2022-09-03 05:01:22 +05:30
Vishal
267d8b62c9 formatting only 2022-09-03 04:59:12 +05:30
Vishal
e4e5be6bf9 put dm in separate menu.
fixed issue where new dm decryption was crashing when logged in with pubkey only.
2022-09-03 04:55:30 +05:30
Vishal
7457c78605 Added useful bash scripts 2022-09-03 04:00:17 +05:30
Vishal
28f2dc3ffb improved direct room name lookup so unmaned rooms can now be looked up by prefix-id 2022-09-03 03:54:08 +05:30
Vishal
d0ecb4ff0b fixed issues introduced in last few commits
Where Tree was formed first, and then lot events were being inserted into it. This is not supported yet. So now events are collected initially, and then Tree is formed.

also fixed issue that new kind 0 events were not getting handled, which result that lists were not printing names.
2022-09-03 03:29:36 +05:30
Vishal
23aab9ce9e initialized google translator only when relevant flag is given 2022-09-02 01:57:11 +05:30
Vishal
50aeab1259 to build 2022-09-02 01:15:04 +05:30
Vishal
7c3bb36c63 read received DM. showed them.
cant send DM, nor read sent DMs.
2022-09-02 01:14:23 +05:30
Vishal
45e3d8c357 improved getFollowers() 2022-09-01 22:21:48 +05:30
Vishal
74541890b4 improved channel logic
fix: put messages in order in channels

improved dm menu. encryption etc still todo.
2022-09-01 21:55:51 +05:30
Vishal
582c422792 added dm to menu and displayed them but no en/decryption done yet 2022-09-01 16:57:57 +05:30
Vishal
49e8d10859 Added scrollableRoom class as parent of chatRoom 2022-09-01 15:53:17 +05:30
Vishal
2614187435 code formatting 2022-09-01 08:34:59 +05:30
Vishal
c9d4261ae8 pushing pubspec to build 2022-09-01 08:08:03 +05:30
Vishal
0f1921be27 handled incoming kind 5 event 2022-09-01 07:52:05 +05:30
Vishal
9b97d47e70 To build delete event exe 2022-09-01 05:29:23 +05:30
Vishal
69223d407d handled received delete kind 5 event
so that the original message is not printed. If the original message was in file, its still not deleted.
2022-09-01 05:28:43 +05:30
Vishal
ec83360ce6 added delete option in other menu, event is only sent
not handled yet.
2022-09-01 04:44:11 +05:30
Vishal
b153f29f20 Code refactoring: Separated out class Tree from main object Store
No functionality change intended.
2022-09-01 03:51:57 +05:30
Vishal
fdf60566da no major change 2022-09-01 01:07:42 +05:30
Vishal
2b7c3e3124 Imporoved logic so that main tree is created with file events, and net events are later added to it.
Makes it easier to track so that later only net events are printed.
2022-09-01 00:40:00 +05:30
Vishal
00d3f3415c only wrote new events to the file 2022-08-31 23:04:43 +05:30
Vishal
eacc3bc1d0 Improved contact saving/access
.. by saving latest contact info in global structure with kind 0 info ( meta information). Makes profiles faster.
2022-08-31 22:15:17 +05:30
Vishal
b9b1a5723c code refactoring. printed info at start for anon use case. 2022-08-31 20:07:38 +05:30
Vishal
a46e2a19c5 added warn if default pri key is being used. increased threshold len for translation to 10 2022-08-31 17:01:26 +05:30
Vishal
20f5295e54 fixed nonce tag. sent event to multiple relays. 2022-08-31 04:24:37 +05:30
Vishal
6eb1587c4a Added windows Icon 2022-08-31 03:37:20 +05:30
Vishal
6776b691bc Merge branch 'main' of https://github.com/vishalxl/nostr_console 2022-08-31 02:45:38 +05:30
Vishal
a03916fea4 now user can add a new contact even when they dont have a previous kind 3 event
also put checks about 64 byte lengths on keys supplied on command line
2022-08-31 02:45:09 +05:30
Vishal
afbe35e4fd
Update README.md 2022-08-31 01:04:19 +05:30
Vishal
ff9b40d9aa fixed pagination math logic 2022-08-31 00:50:16 +05:30
Vishal
1137068f68 added basic page support for channels with too many messages. 15 msg per page now are displayed. 2022-08-30 23:47:59 +05:30
Vishal
5a24daa7c2 Merge branch 'main' of https://github.com/vishalxl/nostr_console 2022-08-30 20:22:26 +05:30
Vishal
9eb58020d7 added search by event id, along with search by word 2022-08-30 20:22:21 +05:30
Vishal
9be9c2f681
Merge pull request #10 from sven-hash/main
add new relay
2022-08-30 19:34:11 +05:30
Vishal
4d2f905c3f
updated screenshot 2022-08-30 19:30:03 +05:30
Vishal
b90cb5e1d4 test action on path pubspec 2022-08-30 19:10:46 +05:30
Vishal
0cd7105548 added difficulty option with max diff of 24 bit 2022-08-30 19:09:56 +05:30
cgi-bin/
7bea613ddf
add wss://nostr.ono.re 2022-08-30 14:32:09 +02:00
cgi-bin/
b9245a62f8
typo 2022-08-30 14:30:47 +02:00
Vishal
1dfa976d46
added path requirement for pubspec.yaml action 2022-08-30 17:41:17 +05:30
Vishal
e3c9dc3916 Merge branch 'main' of https://github.com/vishalxl/nostr_console 2022-08-30 17:00:24 +05:30
Vishal
72be90cd50 test action on pubspec change 2022-08-30 17:00:12 +05:30
Vishal
be64fbe9c3
action only on pubspec version change 2022-08-30 16:43:23 +05:30
Vishal
f10d819295 removed year printed in date 2022-08-30 16:18:13 +05:30
Vishal
b12a36e71d
Merge pull request #6 from vishalxl/vishalxl-patch-2
Create dart.yml
2022-08-30 16:17:32 +05:30
Vishal
cb9846a680
case fix 2022-08-30 16:15:06 +05:30