Vishal
0ea7a6b05e
added unused or skeletal code to eventually do sig check for incoming events
2022-11-09 23:30:18 +05:30
Vishal
b37b903261
added mySign function
2022-11-04 22:04:15 +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
57dfc52521
fixed crash which showed when contact list went above 100
2022-10-12 02:48:15 +05:30
Vishal
4d246f2dd2
put debug messages in debug
2022-09-17 13:26:27 +05:30
Vishal
5f9516d22d
fixed name printing a bit
...
changed notification delay time a bit.
2022-09-13 21:14:21 +05:30
Vishal
7595f072d9
no real change; comments etc
2022-09-12 11:58:48 +05:30
Vishal
62dbe3de2e
got dummy events, and showed likes as notification at start along with replies
2022-09-10 04:02:49 +05:30
Vishal
e16fb421f4
fetched default accounts in first step itself
2022-09-09 14:32:56 +05:30
Vishal
c7153872d9
simplified display in sn. showed notifications in inbox at startup if present.
2022-09-09 03:31:23 +05:30
Vishal
11972d5328
combined ptags with contact req, so now its 30% faster initially with 2 future delays only
...
also got req for mentions using #p so any anon account that replies to user will show up
2022-09-07 02:54:01 +05:30
Vishal
8dafca67cd
now getting kind 0, 3 event too
...
added + for top event
2022-09-07 02:10:32 +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
20f5295e54
fixed nonce tag. sent event to multiple relays.
2022-08-31 04:24:37 +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
0cd7105548
added difficulty option with max diff of 24 bit
2022-08-30 19:09:56 +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
a09c046787
Added color option and made file as default of name all_nostr_events.txt which can be disabled with --disable-file
2022-08-27 13:28:36 +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
6057e16005
invoked more relays. NIP not followed yet tho. Printed info for application through menu
2022-08-26 00:05:07 +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
94c21342d1
improved isLatin function by considering whitespace too
2022-08-25 02:30:05 +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
ba1edf7dbf
escaped " so it can be written in comment
2022-08-22 04:44:29 +05:30
vishalxl
57ef23d232
no functional change
2022-08-21 00:23:53 +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
2c37201185
added method to write events in file. not used.
2022-08-20 00:53:33 +05:30
vishalxl
c2fb18f4bd
ignored duplicate events at relay itself by adding a set of id's in relays. Improved get multiple user events by breaking down request for multiple authors into smaller requests
2022-08-19 23:01:22 +05:30
vishalxl
6ee59e0e9a
printed number of trees displayed. added option to change number of days dispayed
2022-08-19 11:51:46 +05:30
vishalxl
cb0baaa4f2
blocked social relay that was not returning events. separated console_ui.dart into separate file. printed total messages in menu
2022-08-19 05:19:47 +05:30
vishalxl
dc7ddaffb1
added pubkey and maxdepth arguments. Fixed so that re-shifting of thread to left shows where the reshifting part ends
2022-08-19 00:04:41 +05:30
vishalxl
f7b78aa171
added options align and width, which control display. now text can be left or center aligned. default is center. fixed issue with dashes when re-aligning tree
2022-08-18 18:34:37 +05:30
vishalxl
ee35160fec
added notification in color cyan for the event by adding a flag and using it in EventData
2022-08-17 22:34:20 +05:30
vishalxl
bcf023e156
separated files into two - events and tree
2022-08-16 04:53:42 +05:30
vishalxl
43722efa70
added usage string and other minor improvements
2022-08-13 21:40:39 +05:30
vishalxl
9738244d44
removed fetch events option. can reply to posts, and create new post from cmd
2022-08-13 20:31:00 +05:30
vishalxl
b457016a3f
added menu support. and posting of message using throwaway hard-coded pubkey. git bash is not giving input readline, but works on win cmd
2022-08-13 18:50:07 +05:30
vishalxl
56b44cb82a
added --relay option
2022-08-12 03:12:33 +05:30
vishalxl
31228e5561
added --days options, which controls how many recent days of posts are shown, default value is 3 days. This reduces clutter on output
2022-08-11 02:36:38 +05:30
vishalxl
23005cb488
improved kind 3 processing so the latest list is considered. other improvements and tested for multiple users.
2022-08-10 00:01:48 +05:30
vishalxl
7ff49f7142
invoked multiple user request for rest of events too, for ptag mentions
2022-08-09 19:33:52 +05:30
vishalxl
d6f4e2671c
combined requests for multiple users. improves response from relays.
2022-08-09 19:26:15 +05:30
vishalxl
93f08f4cf5
minor time delay
2022-08-09 18:33:44 +05:30
vishalxl
7bc148fd4e
ignored one bot by adding a global list of bot id's
2022-08-08 16:44:42 +05:30
vishalxl
151d226caf
no real change; code cleanup
2022-08-08 02:54:37 +05:30
vishalxl
de7e624fa3
Rather than WebSocket based on dart.io, used web_socket_channel , which is an official dart package for cross-platform WebSockets
2022-08-08 02:22:46 +05:30
vishalxl
d36b6b51c7
added argument parsing, now a request string can be sent to a relay, and its results printed as tree
2022-08-07 23:08:47 +05:30