138 Commits

Author SHA1 Message Date
Vishal
1d66a25cb0 changed version to 0.2.8 2022-12-24 01:44:20 +05:30
Vishal
0b1bd5d9be getting only 200 maximum contacts for any user
reduced calls made. combined user fetch and mention fetch to one request.
2022-12-24 01:35:33 +05:30
Vishal
91fa45a8c6 reduced events fetched
.. to about 30k for my own username.

This reduces connection which seems to improve relay response.

added file user.dart with mostly old code.
2022-12-23 20:08:41 +05:30
Vishal
a802e7bd1f reduced items fetched to reduce cpu use etc
fixed user count in relay which was undone few commits ago
2022-12-23 13:43:39 +05:30
Vishal
b883231223 added coinos relay
and improved test servers file
2022-12-22 13:28:57 +05:30
Vishal
57500877b9 fixed a minor issue with previous commit
delay check was being done wrong at starting , and increased channel events fetch to 2 days
2022-12-22 07:45:11 +05:30
Vishal
91ddb3911b improved fetching or requests
added zbd relay and more
added more default initial users to fetch
2022-12-22 06:58:02 +05:30
Vishal
08180c00a8 printed relay list in every case at start 2022-12-21 11:11:17 +05:30
radixrat
33d59fc097 make regex specific to s optional 2022-12-20 16:03:03 -05:00
radixrat
e36aa31608 convert relays urls to sets, regex for wss:// or ws:// 2022-12-20 15:59:15 -05:00
radixrat
e93396f636 accept user relay list as the main relays
provide feedback when no valid relays passed

add comma
2022-12-20 15:23:09 -05:00
radixrat
d30637dcc0 allow multiple relays to be added to the relay list on start 2022-12-20 14:24:30 -05:00
Vishal
0321e723e7 fetched reacted-to events not in store
also added location flag but did not use it.

improved function structure in tree.dart
2022-12-04 13:44:28 +05:30
Vishal
80c780cdd8 code improved for getting events together
no function change
2022-12-01 23:39:53 +05:30
Vishal
c692f13bd3 increased ininital delay and improved print ui for enc groups 2022-11-30 11:21:11 +05:30
Vishal
c1a6901e0b enc channel menu impromvents
mostly code improvements
2022-11-29 19:32:28 +05:30
Vishal
7c065f18e5 fetched 14x only after receiving an invite 2022-11-29 11:02:31 +05:30
Vishal
fe69a6503a more code moved to utils.dart 2022-11-28 15:42:25 +05:30
Vishal
a5e320cf72 default without argument invocation now possible with no pubkey 2022-11-27 01:39:39 +05:30
Vishal
32bc7d2bc0 used kind 104 to send shared secret for kind 14x
also internally improved logic that encrypted channels internal structures are created by first looking at kind 104  (secret kind id)

mentioned version 0.1.9-beta
2022-11-25 19:26:12 +05:30
Vishal
40120093d5 made initial wait 8 sec each, and later wait 1 sec each 2022-11-23 22:38:35 +05:30
Vishal
2e207ef054 enabled relay argument
new relay is added to list of relays used.
2022-11-19 15:51:12 +05:30
Vishal
245aa36f4c touched settings to get minimal events.
saved more so that need to get less with file.
2022-11-19 14:16:35 +05:30
Vishal
128841d067 added docker file which isn't working
issue is that readlinesync in docker is not reading anything from input.
2022-11-16 15:18:53 +05:30
Vishal
86f056b1a3 changed version to 0.1.4-beta 2022-11-16 10:54:39 +05:30
Vishal
20443d2408 nip05 support: shown in profile
and mentioned in 'show profile' and 'follow user' use cases if more than one profile are there.
2022-11-15 07:55:35 +05:30
Vishal
7448ef682a tweaked some constants to get fewer events
and added fn to print info about event types
2022-11-14 15:38:43 +05:30
Vishal
2969275145 added clear screen with some menus including main and public channel menus
version checkin doing now.
2022-11-13 14:43:17 +05:30
Vishal
6acfbcc7b4 increased days for self and self mention events
otherwise mostly inbox messages aren't coming which are needed  more
2022-11-08 00:59:08 +05:30
Vishal
e80bc5b03b fixed mistype done few commits ago which wasn't getting kind 42 2022-11-07 19:32:47 +05:30
Vishal
267c80fdef used myGetPublicKey 2022-11-07 16:28:56 +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
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
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
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
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
73ddf92a57 got users events separately
otherwise its not fetching events for some users
2022-09-18 02:24:27 +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
6a4363be19 removed zip file 2022-09-17 13:28:54 +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
ecca05e771 only comments change 2022-09-15 02:43:16 +05:30
Vishal
3f89e0b00f avoided two exceptions related to terminalcolumns
and to writing wrong delete event string
2022-09-13 20:52:59 +05:30
Vishal
cd4abb6f9c reduced text width 2022-09-12 04:48:36 +05:30
Vishal
e9d3a90765 removed automatically added well known private key
only the public key is still there which a user is automatically allowed to use
2022-09-10 21:06:59 +05:30
Vishal
8bc965709d adding color to names in SN 2022-09-10 19:33:20 +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
855b2fe8fe sorted direct room main view
made gStore a global.
Made directRooms a list rather than a map.
2022-09-07 15:44:15 +05:30
Vishal
6c86bdd24a Got all channel events 2022-09-07 05:03:01 +05:30
Vishal
9558197cac made map out of bytesecret and do look up second time
speeds up a lot . each takes 0.05 secs to calculate.
2022-09-07 03:53:15 +05:30