Commit Graph

249 Commits

Author SHA1 Message Date
Raven Scott
8c4a38ca8e peer count per room 2024-06-13 16:00:02 -04:00
Raven Scott
3c803c811e Debug 2024-06-13 14:50:23 -04:00
Raven Scott
6a7eb78d34 fixing talk button not turning red 2024-06-13 06:10:26 -04:00
Raven Scott
76b00ce5b2 New dark mode theme, removing green, making UI uniform 2024-06-13 05:55:14 -04:00
Raven Scott
145b5b728b Better style for the side bar + removing alert on copy 2024-06-13 05:24:44 -04:00
Raven Scott
6b3f043332 first attempt at audio messages 2024-06-13 03:53:23 -04:00
Raven Scott
060308ec92 Remove localStorage uses 2024-06-13 01:44:44 -04:00
Raven Scott
7461dadf88 remove unused function 2024-06-13 01:38:10 -04:00
Raven Scott
052fbecc20 Remove not needed join line 2024-06-12 00:08:34 -04:00
Raven Scott
b9db313eff Fix chatBot 2024-06-11 17:40:02 -04:00
9a14c10bac Merge pull request 'Reworking bot code. Again...' (#7) from MiTask/LinkUp-P2P-Chat:main into main
Reviewed-on: #7
2024-06-11 20:38:54 +00:00
MrMasrozYTLIVE
f69b22c810 Removed .idea folder 2024-06-11 21:49:34 +03:00
MrMasrozYTLIVE
00b26d6afe Changed lots of stuff inside of bot code. Got rid of peers in message object. 2024-06-11 21:47:42 +03:00
MrMasrozYTLIVE
4aa205cd73 Got rid of 2 useless classes 2024-06-11 20:56:02 +03:00
MrMasrozYTLIVE
5bb5e63105 Trying to merge is so hard 2024-06-11 20:54:43 +03:00
MrMasrozYTLIVE
4415d196de small change in text 2024-06-11 20:53:30 +03:00
Raven Scott
cd4b333954 Remove not needed code 2024-06-11 03:31:20 -04:00
Raven Scott
a92b22ef17 Remove not needed code 2024-06-11 03:28:26 -04:00
Raven Scott
7a74d3fc4d Add room names to room view header, add a copy topic button and remove the display of the topics 2024-06-11 02:52:53 -04:00
Raven Scott
6eab069cc5 Move Peer Count to Title Bar | Make the count global to all rooms 2024-06-11 01:12:01 -04:00
7ec2901165 revert 9aedd9fda4
revert update peer count per topic
2024-06-11 04:40:01 +00:00
Raven Scott
9aedd9fda4 update peer count per topic 2024-06-11 00:18:27 -04:00
Raven Scott
e57db27a13 Fixing bot 2024-06-10 22:20:36 -04:00
Raven Scott
157c8af4f4 Update bot Client to work with the new connection logic 2024-06-10 22:04:57 -04:00
Raven Scott
6a0b05df86 REFRACTOR: New connection logic, all saved rooms are connected on init. New Room tracking and message tracking with message history after switching. Better connection management 2024-06-10 21:51:34 -04:00
Raven Scott
d0d408230a Adding buttons instead of links for downloads 2024-06-10 21:08:44 -04:00
Raven Scott
3dcabac0b4 Fix channel edit input size 2024-06-10 20:28:16 -04:00
Raven Scott
8d1ecc2c19 Adding in Room Aliases 2024-06-10 20:01:00 -04:00
Raven Scott
01fee56692 Fixing bot messages 2024-06-10 19:49:46 -04:00
Raven Scott
e1153cb5df Fixed Message attachments! 2024-06-10 17:18:06 -04:00
Raven Scott
25e421e982 more work on file attachments 2024-06-10 17:13:20 -04:00
Raven Scott
3a0af4ace2 Adding syntax highlights 2024-06-10 16:32:52 -04:00
4fbbc73527 Merge pull request 'Fixed bot crash on file attachment, added 2 more new events and topic ID to file message' (#6) from MiTask/LinkUp-P2P-Chat:main into main
Reviewed-on: #6
2024-06-10 20:09:25 +00:00
MrMasrozYTLIVE
edf61f0462 Started working on proper classes for messages (files and text), user peer class, chatroom class 2024-06-10 21:34:50 +03:00
MrMasrozYTLIVE
92ba56b9fc Added topic to file attachment json 2024-06-10 21:25:41 +03:00
MrMasrozYTLIVE
7275b69948 Added onIcon and onFile events. onMessage is now being called only on messageType == message. Removed debug code from swarm.on('update'). 2024-06-10 21:23:59 +03:00
MrMasrozYTLIVE
56d8a8091e Yeah it actually works :yay: 2024-06-10 21:18:33 +03:00
MrMasrozYTLIVE
4ec0be2774 I think i got it to work lol 2024-06-10 21:17:16 +03:00
MrMasrozYTLIVE
27b3528304 It can have multiple topics :( time to figure a way to do it then ig 2024-06-10 21:13:52 +03:00
MrMasrozYTLIVE
2ca07e46c3 so topics in .map() are array. Is it array that always has only one buffer or can have lots of them??? 2024-06-10 21:11:46 +03:00
MrMasrozYTLIVE
e396bcbb0b b4a doesnt work its time to debug again 2024-06-10 21:10:25 +03:00
MrMasrozYTLIVE
3b7f0fbd1d replaced topic.toString with b4a.toString(topic) 2024-06-10 21:09:33 +03:00
MrMasrozYTLIVE
79bdd04810 Lmfao i did peer.topics 2024-06-10 21:06:09 +03:00
MrMasrozYTLIVE
1dca21fe75 Did an oopsie with array.filter ([array.filter] instead of [array].filter) 2024-06-10 21:03:01 +03:00
MrMasrozYTLIVE
edd3f632cf Now its time to debug peer topics since its empty right now 2024-06-10 21:02:01 +03:00
MrMasrozYTLIVE
340362872f Lol it actually was inverted for some reason 2024-06-10 21:00:22 +03:00
MrMasrozYTLIVE
230cdd1321 Huh? Is it actually inverted?? 2024-06-10 20:58:59 +03:00
MrMasrozYTLIVE
acb5609d03 Its not working 😭 time to debug 2024-06-10 20:57:32 +03:00
MrMasrozYTLIVE
66d684e473 Filter all the peerInfo topics that are undefined and then map all of them to hex string 2024-06-10 20:56:02 +03:00
MrMasrozYTLIVE
03f053723d Merge branch 'main' of https://git.ssh.surf/snxraven/LinkUp-P2P-Chat 2024-06-10 20:49:17 +03:00