Commit Graph

249 Commits

Author SHA1 Message Date
MrMasrozYTLIVE
f706e7d621 Made Client.js->setupSwarm() parsing messages more readable 2024-06-14 20:06:05 +03:00
MrMasrozYTLIVE
42dccf9547 Actually just returning the url if its host is not 'localhost' 2024-06-14 19:58:40 +03:00
MrMasrozYTLIVE
d4dc1b299d Ignoring 'updatePortInUrl' if port is 443 (SSL connection) 2024-06-14 19:53:51 +03:00
MrMasrozYTLIVE
3e9a2101d5 I did this.botName and not bot.botName lol 2024-06-14 19:51:34 +03:00
MrMasrozYTLIVE
2d0f97bc8f Oops i made async constructor 2024-06-14 19:50:10 +03:00
MrMasrozYTLIVE
6cbfe34966 Testing bot avatars thingy 2024-06-14 19:49:26 +03:00
MrMasrozYTLIVE
9b4357dd00 i hate js. it ignores all of my code and just sends 'messagetype' instead of 'type' 2024-06-14 19:25:17 +03:00
MrMasrozYTLIVE
14aa129f6d Trying some changes to make bot messages and client mmessages have same format 2024-06-14 17:44:05 +03:00
MrMasrozYTLIVE
d449249f41 Revert reverting 2024-06-14 17:39:16 +03:00
MrMasrozYTLIVE
bb26b5c2a8 Revert all changes i did to app.js 2024-06-14 17:37:58 +03:00
MrMasrozYTLIVE
52a319a1c0 Fixed my bots messages 2024-06-14 17:36:16 +03:00
MrMasrozYTLIVE
70655ce901 So messages actually broke somehow lol 2024-06-14 17:34:06 +03:00
MrMasrozYTLIVE
75be3a5b33 Reworked commands, added some funny stuff 2024-06-14 17:20:37 +03:00
MrMasrozYTLIVE
d5650a9d7b I think i did it yay 2024-06-14 17:09:30 +03:00
MrMasrozYTLIVE
2ff9c73585 It doesnt want to work 😭 2024-06-14 17:07:21 +03:00
MrMasrozYTLIVE
d50e0df6a1 Time to do lots of debugging 😭 2024-06-14 17:05:00 +03:00
MrMasrozYTLIVE
8262bd4eb7 Hm. Its pretty strange. Thats why i dont really like JavaScript 2024-06-14 17:04:08 +03:00
MrMasrozYTLIVE
457bf01bc3 Trying out isPrototypeOf() function 2024-06-14 17:02:26 +03:00
MrMasrozYTLIVE
feff30fecc Testing if sendMessage argument extends Message class 2024-06-14 17:00:35 +03:00
MrMasrozYTLIVE
b3ccda32ea did lots of work on bot package 2024-06-14 16:43:17 +03:00
Raven Scott
bd885bb591 Fix peerName in Message received 2024-06-14 04:46:19 -04:00
66dc7cdac2 Merge pull request 'Fix shutdown' (#9) from MiTask/LinkUp-P2P-Chat:main into main
Reviewed-on: #9
2024-06-14 08:44:09 +00:00
624222f726 Merge branch 'main' into main 2024-06-14 08:43:47 +00:00
01ca4aae5a Update chatBot/includes/Client.js 2024-06-14 08:43:27 +00:00
37ce0ff5bf Merge pull request 'Added graceful shutdown' (#8) from MiTask/LinkUp-P2P-Chat:main into main
Reviewed-on: #8

Perfecto
2024-06-14 08:37:47 +00:00
65576e82b3 Added proper shutting down 2024-06-14 08:35:54 +00:00
Raven Scott
9eeb38ca3f Validate topicBuffer: Ensure topicBuffer is always defined and valid before converting it to a string. 2024-06-14 04:33:50 -04:00
d3792b4bd0 Merge pull request 'Up to date fork' (#1) from snxraven/LinkUp-P2P-Chat:main into main
Reviewed-on: MiTask/LinkUp-P2P-Chat#1
2024-06-14 08:32:25 +00:00
Raven Scott
50a02e8dfd topic validation for the join box 2024-06-14 04:04:00 -04:00
Raven Scott
ff0acb1a85 add readme 2024-06-14 03:17:31 -04:00
Raven Scott
4d9d22060b Adding hyperdrive files management via ~list-files 2024-06-14 01:56:46 -04:00
Raven Scott
f84a6cff1b better formatting for help 2024-06-14 01:28:08 -04:00
Raven Scott
6a74c23f9c fixed 2024-06-14 01:19:58 -04:00
Raven Scott
f50370d2e5 Missed something 2024-06-14 01:18:13 -04:00
Raven Scott
59e72998c6 Fix message history by adding new clear function for internal command 2024-06-14 01:17:18 -04:00
Raven Scott
458954c1e1 adding in new commands 2024-06-14 01:10:23 -04:00
Raven Scott
b56d603b1e Add internal command handler with ping and clear commands to start 2024-06-14 00:57:05 -04:00
Raven Scott
7dbcf17429 Duplicate message fix 2024-06-14 00:33:19 -04:00
Raven Scott
98aa79f075 Prevent Message Duplicates in Message History 2024-06-14 00:08:32 -04:00
Raven Scott
7a31202ac3 Fixing user avatars/icons concerning all of the major changes today 2024-06-13 23:12:31 -04:00
Raven Scott
7061aa1e5e fixes 2024-06-13 22:41:43 -04:00
Raven Scott
af37909b3f update 2024-06-13 22:29:05 -04:00
Raven Scott
2faf2b6f78 Moving to MultiSwarm with proper connection tracking per topic 2024-06-13 21:44:30 -04:00
Raven Scott
b1ea06018b Using swarm.connections.size 2024-06-13 21:05:10 -04:00
Raven Scott
116b23d70f Move back to global peer count 2024-06-13 20:47:45 -04:00
Raven Scott
0dbd441cd5 Merge branch 'main' of git.ssh.surf:snxraven/LinkUp-P2P-Chat 2024-06-13 20:05:21 -04:00
Raven Scott
b50bd0bbab Room Counts done better 2024-06-13 20:02:01 -04:00
6b1b13f75e revert 0a3732fb07
revert Re adding per room topic counts
2024-06-13 23:41:30 +00:00
Raven Scott
0a3732fb07 Re adding per room topic counts 2024-06-13 19:23:42 -04:00
5edcff29e1 revert 8c4a38ca8e
revert peer count per room
2024-06-13 20:06:49 +00:00