Commit Graph

  • 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
  • f3b4755821 Very strange stuff tbh MrMasrozYTLIVE 2024-06-09 10:03:23 +0300
  • f6f804ab39 It actually works now but i want to get it to work properly MrMasrozYTLIVE 2024-06-09 10:01:01 +0300
  • f5f8d0ce19 And I honestly have no idea why it doesnt want to work MrMasrozYTLIVE 2024-06-09 10:00:01 +0300
  • 13e4020920 It just doesnt want to put proper data to the config for some strange reason MrMasrozYTLIVE 2024-06-09 09:58:35 +0300
  • 4a881ed721 Its actually not the reason... MrMasrozYTLIVE 2024-06-09 09:57:11 +0300
  • 2befd34039 Ohh reading is async, thats why it didnt work MrMasrozYTLIVE 2024-06-09 09:56:12 +0300
  • b577ff3207 It doesnt want to use config for some reason. Time to debug stuff MrMasrozYTLIVE 2024-06-09 09:54:30 +0300
  • 8ca1cc2b8f I just forgot to read from the file LOL MrMasrozYTLIVE 2024-06-09 09:53:11 +0300
  • a3fbe7434a Hmm will it work this way? MrMasrozYTLIVE 2024-06-09 09:50:05 +0300
  • a9f50e892b Oopsie checking if config exists didnt work (It is done by checking if username is not empty lol) MrMasrozYTLIVE 2024-06-09 09:46:42 +0300
  • 1271c48571 Mostly finished loading. User avatar stuff is left to do 😭 MrMasrozYTLIVE 2024-06-09 09:44:52 +0300
  • d33d31debf Got rid of userName and userAvatar in exchange of config.userName and config.userAvatar MrMasrozYTLIVE 2024-06-09 09:32:33 +0300
  • 89ebe02743 Merge branch 'main' of https://git.ssh.surf/snxraven/LinkUp-P2P-Chat MrMasrozYTLIVE 2024-06-09 09:29:39 +0300
  • b227683778 Adding padding to the attach file and send buttons Raven Scott 2024-06-09 02:27:20 -0400
  • c2e1242d8b Merge branch 'main' of https://git.ssh.surf/snxraven/LinkUp-P2P-Chat This is automatic merge of FileUploading and Config commits. MrMasrozYTLIVE 2024-06-09 09:24:04 +0300
  • 3947e78aef Started working on saving the user data on actions like registration, joining and leaving rooms. Lacks of loading on start up. MrMasrozYTLIVE 2024-06-09 09:23:45 +0300
  • ee52e49030 Adding file and image upload and sharing Raven Scott 2024-06-09 02:22:46 -0400
  • 2fa431886c make window controls look better, move app name to the right side Raven Scott 2024-06-09 01:55:39 -0400
  • 27f555d267 Setting force window default size, min size and adding real window buttons Raven Scott 2024-06-09 01:27:42 -0400
  • 148f79ed13 Actually fixing the scrollbar issue and styling the chat scrollbar Raven Scott 2024-06-09 00:58:14 -0400
  • d6f14c3062 removing overflow-y from css to remove scrollbar Raven Scott 2024-06-09 00:50:03 -0400
  • 34b771bea9 Removing imports that are no longer needed Raven Scott 2024-06-09 00:00:11 -0400
  • 6d469dd0fd move storage into subdir Raven Scott 2024-06-08 23:49:34 -0400
  • 4e961aebb7 Update CSS layout and Syles Raven Scott 2024-06-08 20:38:18 -0400
  • 4cc087fae2 delete ai command from repo snxraven 2024-06-08 23:08:39 +0000
  • d26c025073 update gitignore Raven Scott 2024-06-08 19:07:31 -0400