Commit Graph

  • b9db313eff Fix chatBot Raven Scott 2024-06-11 17:40:02 -0400
  • 9a14c10bac Merge pull request 'Reworking bot code. Again...' (#7) from MiTask/LinkUp-P2P-Chat:main into main snxraven 2024-06-11 20:38:54 +0000
  • f69b22c810 Removed .idea folder MrMasrozYTLIVE 2024-06-11 21:49:34 +0300
  • 00b26d6afe Changed lots of stuff inside of bot code. Got rid of peers in message object. MrMasrozYTLIVE 2024-06-11 21:47:42 +0300
  • 4aa205cd73 Got rid of 2 useless classes MrMasrozYTLIVE 2024-06-11 20:56:02 +0300
  • 5bb5e63105 Trying to merge is so hard MrMasrozYTLIVE 2024-06-11 20:54:43 +0300
  • 4415d196de small change in text MrMasrozYTLIVE 2024-06-11 20:53:30 +0300
  • cd4b333954 Remove not needed code Raven Scott 2024-06-11 03:31:20 -0400
  • a92b22ef17 Remove not needed code Raven Scott 2024-06-11 03:28:26 -0400
  • 7a74d3fc4d Add room names to room view header, add a copy topic button and remove the display of the topics Raven Scott 2024-06-11 02:52:53 -0400
  • 6eab069cc5 Move Peer Count to Title Bar | Make the count global to all rooms Raven Scott 2024-06-11 01:12:01 -0400
  • 7ec2901165 revert 9aedd9fda4 snxraven 2024-06-11 04:40:01 +0000
  • 9aedd9fda4 update peer count per topic Raven Scott 2024-06-11 00:18:27 -0400
  • e57db27a13 Fixing bot Raven Scott 2024-06-10 22:20:36 -0400
  • 157c8af4f4 Update bot Client to work with the new connection logic Raven Scott 2024-06-10 22:04:57 -0400
  • 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 Raven Scott 2024-06-10 21:51:34 -0400
  • d0d408230a Adding buttons instead of links for downloads Raven Scott 2024-06-10 21:08:44 -0400
  • 3dcabac0b4 Fix channel edit input size Raven Scott 2024-06-10 20:28:16 -0400
  • 8d1ecc2c19 Adding in Room Aliases Raven Scott 2024-06-10 20:01:00 -0400
  • 01fee56692 Fixing bot messages Raven Scott 2024-06-10 19:49:46 -0400
  • e1153cb5df Fixed Message attachments! Raven Scott 2024-06-10 17:18:06 -0400
  • 25e421e982 more work on file attachments Raven Scott 2024-06-10 17:13:20 -0400
  • 3a0af4ace2 Adding syntax highlights Raven Scott 2024-06-10 16:32:52 -0400
  • 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 snxraven 2024-06-10 20:09:25 +0000
  • edf61f0462 Started working on proper classes for messages (files and text), user peer class, chatroom class MrMasrozYTLIVE 2024-06-10 21:34:50 +0300
  • 92ba56b9fc Added topic to file attachment json MrMasrozYTLIVE 2024-06-10 21:25:41 +0300
  • 7275b69948 Added onIcon and onFile events. onMessage is now being called only on messageType == message. Removed debug code from swarm.on('update'). MrMasrozYTLIVE 2024-06-10 21:23:59 +0300
  • 56d8a8091e Yeah it actually works :yay: MrMasrozYTLIVE 2024-06-10 21:18:33 +0300
  • 4ec0be2774 I think i got it to work lol MrMasrozYTLIVE 2024-06-10 21:17:16 +0300
  • 27b3528304 It can have multiple topics :( time to figure a way to do it then ig MrMasrozYTLIVE 2024-06-10 21:13:52 +0300
  • 2ca07e46c3 so topics in .map() are array. Is it array that always has only one buffer or can have lots of them??? MrMasrozYTLIVE 2024-06-10 21:11:46 +0300
  • e396bcbb0b b4a doesnt work its time to debug again MrMasrozYTLIVE 2024-06-10 21:10:25 +0300
  • 3b7f0fbd1d replaced topic.toString with b4a.toString(topic) MrMasrozYTLIVE 2024-06-10 21:09:33 +0300
  • 79bdd04810 Lmfao i did peer.topics MrMasrozYTLIVE 2024-06-10 21:06:09 +0300
  • 1dca21fe75 Did an oopsie with array.filter ([array.filter] instead of [array].filter) MrMasrozYTLIVE 2024-06-10 21:03:01 +0300
  • edd3f632cf Now its time to debug peer topics since its empty right now MrMasrozYTLIVE 2024-06-10 21:02:01 +0300
  • 340362872f Lol it actually was inverted for some reason MrMasrozYTLIVE 2024-06-10 21:00:22 +0300
  • 230cdd1321 Huh? Is it actually inverted?? MrMasrozYTLIVE 2024-06-10 20:58:59 +0300
  • acb5609d03 Its not working 😭 time to debug MrMasrozYTLIVE 2024-06-10 20:57:32 +0300
  • 66d684e473 Filter all the peerInfo topics that are undefined and then map all of them to hex string MrMasrozYTLIVE 2024-06-10 20:56:02 +0300
  • 03f053723d Merge branch 'main' of https://git.ssh.surf/snxraven/LinkUp-P2P-Chat MrMasrozYTLIVE 2024-06-10 20:49:17 +0300
  • 033330fd04 started working on parsing peers & topics they're currently in on swarm update event using 'swarm.peers' MrMasrozYTLIVE 2024-06-10 20:46:59 +0300
  • b88337c398 Merge pull request 'Fixed app.js not sending user ID itself and only peers it knows' (#5) from MiTask/LinkUp-P2P-Chat:main into main snxraven 2024-06-10 15:26:59 +0000
  • bfe0bafebc I removed all of the debugging code for now to push the fix for app.js MrMasrozYTLIVE 2024-06-10 18:23:47 +0300
  • d233f9e5aa I sometimes really hate nodej MrMasrozYTLIVE 2024-06-10 18:07:59 +0300
  • 4134e20403 Array of arrays got fixed but i still cant figure out the issue with topics ehh MrMasrozYTLIVE 2024-06-10 18:06:00 +0300
  • d993090f8b I actually didnt fix the issue with array of arrays. Now it should be fine MrMasrozYTLIVE 2024-06-10 18:03:15 +0300
  • ecfc62ff2c Forgot to check if my temp array is > 0 😭 MrMasrozYTLIVE 2024-06-10 18:00:51 +0300
  • 7ed5681639 Huh publicKey is undefined lol MrMasrozYTLIVE 2024-06-10 17:59:54 +0300
  • 5e52298196 Ehh its not remotePubKey but just pubKey MrMasrozYTLIVE 2024-06-10 17:58:37 +0300
  • 5d6728f39f Filtering all the peers except myself now MrMasrozYTLIVE 2024-06-10 17:57:52 +0300
  • 051aa09c2d Opps i had array of arrays of peers in message json MrMasrozYTLIVE 2024-06-10 17:55:23 +0300
  • 2ed13e50f7 Ok i will stop exiting to test it properly MrMasrozYTLIVE 2024-06-10 17:53:36 +0300
  • aa53cb487b I tried to iterate over not iterable object again 😭 MrMasrozYTLIVE 2024-06-10 17:50:20 +0300
  • d1ee697c84 There's something even more interesting called 'peerInfo.topics' lol. So bad it has no good docs and i have to do this stuff to learn more MrMasrozYTLIVE 2024-06-10 17:48:24 +0300
  • 7751d03b57 Found something interesting called 'swarm.peers' MrMasrozYTLIVE 2024-06-10 17:44:32 +0300
  • 6980520a85 Lol i tried to iterate over not-iterable object MrMasrozYTLIVE 2024-06-10 17:40:57 +0300
  • 7399585d9e Trying to find a way to check which topic each pear is from MrMasrozYTLIVE 2024-06-10 17:38:50 +0300
  • fda25abe8c Oops debugging didnt go as planned lol MrMasrozYTLIVE 2024-06-10 17:34:57 +0300
  • 4cfae430b2 Started working on ChatRoom class MrMasrozYTLIVE 2024-06-10 17:34:21 +0300
  • 8788adbc2b Fixed sending ON_READY_MESSAGE MrMasrozYTLIVE 2024-06-10 17:28:18 +0300
  • d9dbdf4401 Oh i actually broke it because push returns length and not array itself 💀 MrMasrozYTLIVE 2024-06-10 17:22:06 +0300
  • 961599f366 I might've fix sending all 'peers' lol MrMasrozYTLIVE 2024-06-10 17:19:36 +0300
  • 704f6ca0dc Hmm how can i get publickey of the user sending info and not just peers who connected? MrMasrozYTLIVE 2024-06-10 17:17:34 +0300
  • 805983e3f5 Oops forgot about bot startup message. It doesnt work because there's no known peers yet MrMasrozYTLIVE 2024-06-10 17:14:26 +0300
  • 165d2f0faa Trying to fix a bug with message peers MrMasrozYTLIVE 2024-06-10 17:07:54 +0300
  • 24101e5611 Trying to make multiple rooms support. This is gonna be a bit of a hell lol. MrMasrozYTLIVE 2024-06-09 22:55:32 +0300
  • 9f5d5b7dba Merge branch 'main' of https://git.ssh.surf/snxraven/LinkUp-P2P-Chat MrMasrozYTLIVE 2024-06-09 21:01:00 +0300
  • f269781226 revert too tired Raven Scott 2024-06-09 07:00:42 -0400
  • 5ff2460d23 add debug, last try for now Raven Scott 2024-06-09 06:44:26 -0400
  • d5ea2abb7a add debug Raven Scott 2024-06-09 06:39:15 -0400
  • 3835149c92 add debug Raven Scott 2024-06-09 06:35:45 -0400
  • 206d095bcf attempts for file attachments again Raven Scott 2024-06-09 06:25:30 -0400
  • 0010feed24 attempts for file attachments again Raven Scott 2024-06-09 06:13:58 -0400
  • b07579cdc9 another shot Raven Scott 2024-06-09 06:10:42 -0400
  • f6d9991c71 attempts for file attachments again Raven Scott 2024-06-09 06:06:08 -0400
  • 3042974e55 repair file sharing hopefully Raven Scott 2024-06-09 05:40:37 -0400
  • b46ca2b2df repair icons for report peers Raven Scott 2024-06-09 05:35:37 -0400
  • 55d00260fa fix user icons between peers Raven Scott 2024-06-09 05:09:39 -0400
  • 1c07819d91 Merge pull request 'Fixed rooms not being deleted from the json file' (#4) from MiTask/LinkUp-P2P-Chat:main into main snxraven 2024-06-09 08:19:59 +0000
  • 9587ae4818 I guess its time to work on multiple rooms now MrMasrozYTLIVE 2024-06-09 11:19:57 +0300
  • 8bac7def09 I fr fixed it this time MrMasrozYTLIVE 2024-06-09 11:17:20 +0300
  • d44ef48d89 I guess i know why it doesnt delete the room now MrMasrozYTLIVE 2024-06-09 11:16:22 +0300
  • 2a2fbed732 Well i didnt... MrMasrozYTLIVE 2024-06-09 11:15:05 +0300
  • c59795a407 Well i hope i fixed it now MrMasrozYTLIVE 2024-06-09 11:12:40 +0300
  • 33e0a13f93 Merge branch 'main' of https://git.ssh.surf/snxraven/LinkUp-P2P-Chat MrMasrozYTLIVE 2024-06-09 11:10:02 +0300
  • 840b6e2069 Fixed removing rooms MrMasrozYTLIVE 2024-06-09 11:09:58 +0300
  • babde932e7 adding readableTimestamp to messages Raven Scott 2024-06-09 04:09:07 -0400
  • 72bf632cd4 I dont know what to say here because i just need up-to-date repo on my laptop MrMasrozYTLIVE 2024-06-09 11:07:52 +0300
  • 8458430989 adding peers to messages Raven Scott 2024-06-09 04:07:24 -0400
  • 966873774c Merge branch 'main' of https://git.ssh.surf/snxraven/LinkUp-P2P-Chat MrMasrozYTLIVE 2024-06-09 11:05:42 +0300
  • 1c85c78e4c add topic id to message Raven Scott 2024-06-09 04:02:45 -0400
  • 3df73b97c5 Guess gonna try this and then really take a break MrMasrozYTLIVE 2024-06-09 10:55:54 +0300
  • 824e2dab42 Started working on making the bot be in multiple chatrooms MrMasrozYTLIVE 2024-06-09 10:51:15 +0300
  • f83befa2e5 Really fix it Raven Scott 2024-06-09 03:38:53 -0400
  • 7a1eef31e4 Bug Fix: Update HTTP Port for icon on launch, remove timebased stoage directory for single user usage Raven Scott 2024-06-09 03:34:41 -0400
  • a79195d140 Revert "Bug Fix: Update HTTP Port for icon on launch, remove timebased stoage directory for single user usage" Raven Scott 2024-06-09 03:34:27 -0400
  • 3d0c10db2b Bug Fix: Update HTTP Port for icon on launch, remove timebased stoage directory for single user usage Raven Scott 2024-06-09 03:33:28 -0400
  • 9bcf6b8b43 Merge pull request 'Working on Config system (Saving & Loading user data)' (#3) from MiTask/LinkUp-P2P-Chat:main into main snxraven 2024-06-09 07:11:48 +0000
  • 0077989253 It acutally works just fine now yay MrMasrozYTLIVE 2024-06-09 10:08:29 +0300