394 Commits

Author SHA1 Message Date
Vishal
57ae28d834 added tree selector for notifications
needs to be fixed for likes...
2022-09-09 22:07:34 +05:30
Vishal
700e44dcc3 improved notifications for all three in beginning 2022-09-09 20:44:54 +05:30
Vishal
0e0b5bc048 printed notifications for channels too at start
so all three notifications get printed now at start
2022-09-09 19:26:40 +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
b5470fd4f9 fixed follow logic
work in progress on showing notifications in channels etc
2022-09-08 22:51:59 +05:30
Vishal
b358c7c866 used trip with getAuthorName so that names with spaces can be accessed in inbox 2022-09-08 19:38:54 +05:30
Vishal
206d36e7d6 made test compilabe to run action 2022-09-08 19:24:38 +05:30
Vishal
438838af33 showed mutual follows in profile for self 2022-09-08 19:22:18 +05:30
Vishal
cb8c74bef3 sorted channels by latest event
made them into a list like directRooms in Store
2022-09-08 18:50:30 +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
ef75ba3fad if a user is followed, their events are requested too 2022-09-07 04:46:37 +05:30
Vishal
0eff610aeb some tweaks in time, reduced wait initially
from 3 to 2 sec in variable
2022-09-07 04:32:11 +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
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
9413873f6a moved date to left in chat print 2022-09-06 17:36:19 +05:30
Vishal
b281a1bd7b fixed end color marker getting clipped when padding etc
.. for long messages in chat. resulted in all-screen being blue etc.
2022-09-06 03:59:42 +05:30
Vishal
03ef8e5cf0 added overwrite flag. improved chat display. 2022-09-06 03:40:34 +05:30
Vishal
78a840d851 build for colored new chat messages 2022-09-06 01:12:05 +05:30
Vishal
014a546411 added color in notification for new chat messages 2022-09-06 01:11:34 +05:30
Vishal
0c1c39b0d8 fixed so that dummy events do get printed
were missed cause recently had made their kind as -1 . now made it back to 1.
2022-09-06 00:54:11 +05:30
Vishal
777e644ae5 Improved how room is printed
made name take more width; other minor changes
2022-09-06 00:20:55 +05:30
Vishal
bf0691dbcd dms enabled
new user can be messaged by adding their pubkey in option 2 in private messages
2022-09-05 22:48:11 +05:30
Vishal
181dd1c883 fixed issue with reading wrong pubkey when decrypting
all dm's can be read now. and padding is removed too.
2022-09-05 17:14:34 +05:30
Vishal
5afc4b4074 minor code changes 2022-09-04 19:01:39 +05:30
Vishal
dd717a289b improved text breaks when printing
and moved realignment of screen into menu for better results
2022-09-04 18:34:25 +05:30
Vishal
b0af54f353 improved channel name lookup and now initially network events are shown as notifications 2022-09-04 14:51:04 +05:30
Vishal
3e8a4e87d6 translations and mentions enabled for channel messages while printing 2022-09-04 02:27:14 +05:30
Vishal
512547dda5 new build with better channel display 2022-09-04 01:51:18 +05:30
Vishal
725e8b3be1 removed unused argument 2022-09-04 01:14:17 +05:30
Vishal
f9eec2731d improved channel message printing and related 2022-09-04 00:15:33 +05:30
Vishal
42d804a9b6 combined print calls in event printing to make scrolling or printing much faster 2022-09-03 23:05:55 +05:30
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