160 Commits

Author SHA1 Message Date
Vishal
b9b1a5723c code refactoring. printed info at start for anon use case. 2022-08-31 20:07:38 +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
9eb58020d7 added search by event id, along with search by word 2022-08-30 20:22:21 +05:30
Vishal
d955ee7efe ran dart analyze and fixed issues 2022-08-30 14:58:27 +05:30
Vishal
f64a3d670e formatting changes 2022-08-30 14:15:22 +05:30
Vishal
1e493147e8 improved notification logic, added some pow code but unused now, added large intro print 2022-08-30 03:07:32 +05:30
Vishal
e3aae09f9d minor comment etc changes 2022-08-29 20:38:48 +05:30
Vishal
a4e687d806 added another treeSelector so that only events with likes etc are printed. minor refactoring. 2022-08-29 19:08:00 +05:30
Vishal
38ae89a3b2 fixes tests, added logging library, lot of other code refactoring. 2022-08-29 04:59:28 +05:30
Vishal
cb24f7e2bf added since in request to relays, for 120 days before now.
comments created in last 120 days are requested only.
2022-08-28 06:38:38 +05:30
Vishal
01b5b82228 used unique names for subscription strings, used set of events rather than list, and called multiple relays for third call in main 2022-08-28 05:33:01 +05:30
Vishal
6c2a23c689 fixed so that event is not sent if replyTo id is not valid. reordered menu. added about/picture. 2022-08-27 23:55:01 +05:30
Vishal
5784811ce0 fixed tag with new contact list, mentioned client 2022-08-27 19:10:57 +05:30
Vishal
2796930cb2 fixed tag logic for client tag; other minor changes including basic test for French 2022-08-27 16:26:45 +05:30
Vishal
b7348f8e9c made client tag as last entry in tag list 2022-08-27 14:31:01 +05:30
vishalxl
5a86a0e663 improved processReaction so double reactions aren't printed, only 1 as needed for each reaction 2022-08-27 03:25:47 +05:30
vishalxl
29a925512a improved tags when replying. reduced sorting burden by not sorting child threads ( by time). top thread still sorted. 2022-08-27 00:25:22 +05:30
vishalxl
bb16c30f63 Nip 10 followed where top event id is added as first e tag, and the replied to event is added as second event tag. fixed issue when events when inserted into tree were getting lost if they did not have a parent existing. created dummy for them. 2022-08-26 21:24:37 +05:30
vishalxl
a9fd81e7c1 added better notifications to different searches 2022-08-26 12:56:20 +05:30
vishalxl
6515958cd8 fixed json decode issue. added more profile info including distance. added search by client 2022-08-26 12:41:30 +05:30
vishalxl
9d38f04bd8 removed extra debug msg 2022-08-26 05:04:07 +05:30
vishalxl
418c3e6b7a improved channel list printing 2022-08-26 03:57:50 +05:30
vishalxl
c638e33b78 fixed issue where treeSelector was wrongly used and was not priting children events which didn't pass 2022-08-26 01:23:40 +05:30
vishalxl
8264e9acb0 user can now add a contact, kind 3 event is broadcast in that case 2022-08-25 18:33:29 +05:30
vishalxl
002d418841 printed name of channel at top 2022-08-24 23:58:21 +05:30
vishalxl
6f6caea6cd sorted the events displayed in channel by time; minor menu word improvements 2022-08-24 23:33:45 +05:30
vishalxl
10bc0d187b channel menu and comments; contact update halfway done; created settings.dart file with all settings 2022-08-24 22:07:03 +05:30
vishalxl
5a6ec58a6a printed messages in rooms. avoided #e for parent of chat message and used e tag like nip 10. fixed so that unknown event can be replied to 2022-08-24 05:34:11 +05:30
vishalxl
dff3ff70b0 added support for kind 40/42 messages, and displayed if any chat room are there. Messages not displayed yet 2022-08-24 03:36:08 +05:30
vishalxl
ec52366ec3 added a newline 2022-08-23 16:54:16 +05:30
vishalxl
3f80520c0c added --translate flag, so translation is only done when its enabled. called expand/translate for new events too 2022-08-23 16:47:24 +05:30
vishalxl
6d97b4e29f added user profile option, rather than just comments by user. This shows likes and comments, and shows users contact list too 2022-08-23 15:33:11 +05:30
vishalxl
951bb2cc65 only searched comments smaller than 1000, otherwise it was taking too much time. corrected selector logic in printNotifications 2022-08-23 09:04:16 +05:30
vishalxl
dc1afeabba added google translate call to translate some non-latin-alphabet languages to english. also fixed error in display of newest tree 2022-08-23 04:36:31 +05:30
vishalxl
b40a6fe000 made a string size check to avoid an error for id string non 2022-08-22 12:58:26 +05:30
vishalxl
100ed2dd99 removed test debug flag 2022-08-22 12:34:19 +05:30
vishalxl
0f892301fb added word search, for a single word 2022-08-22 09:13:17 +05:30
vishalxl
ed791c61be added option to print a particular users all tweet only in other menu 2022-08-22 09:05:23 +05:30
vishalxl
ba1edf7dbf escaped " so it can be written in comment 2022-08-22 04:44:29 +05:30
vishalxl
0da2278ea3 implemented nip 10 by adding a global contact list, and using it to get the e relay tag info, and adding a p tag to all replies 2022-08-22 04:06:18 +05:30
vishalxl
5fecdada18 sorted threads according to the newest post/reply in them. loaded file events even for --request argument case. 2022-08-22 02:19:17 +05:30
vishalxl
3ea94444af fixed issue that didnt print anything due to a restricve kind 1 test 2022-08-21 11:47:25 +05:30
vishalxl
d4cc9fbcae added support for reading and writing events from/to a file with command line argument. Display and other improvements: printed user logged in for information. 2022-08-21 00:11:50 +05:30
vishalxl
912a35e21a colorified the notification for likes 2022-08-20 03:12:32 +05:30
vishalxl
2c37201185 added method to write events in file. not used. 2022-08-20 00:53:33 +05:30
vishalxl
87b4ce846c fixed comparator which improves the display a lot 2022-08-19 20:20:29 +05:30
vishalxl
a656ad7fe8 likes are displayed, and can be sent 2022-08-19 19:47:00 +05:30
vishalxl
8348be44da renamed some variables, and caught int parsint exception 2022-08-19 14:45:21 +05:30
vishalxl
a08280446a improved menu display 2022-08-19 12:17:55 +05:30