Commit Graph

262 Commits

Author SHA1 Message Date
Raven Scott
5080c37bcf update 2024-06-15 03:28:36 -04:00
Raven Scott
7350d134a1 update 2024-06-15 03:20:52 -04:00
Raven Scott
a6229b4b9a update readme 2024-06-15 03:19:54 -04:00
Raven Scott
c477a988fd update readme 2024-06-15 03:18:52 -04:00
Raven Scott
04c677e8e7 update readme 2024-06-15 03:16:15 -04:00
Raven Scott
983d88002e Add current bot readme 2024-06-15 03:12:38 -04:00
Raven Scott
150b69a2a2 update example paths 2024-06-15 03:04:41 -04:00
Raven Scott
487bc13970 Adding proper support for audio messages via bot 2024-06-15 03:03:43 -04:00
Raven Scott
2cf819553a correct support for sending files via the bot 2024-06-15 02:52:20 -04:00
Raven Scott
49f4cc88ed fix usernames being sent 2024-06-14 15:38:45 -04:00
Raven Scott
66ae839318 Fix usernames for bots 2024-06-14 15:21:41 -04:00
Raven Scott
db88b09ba5 handling user icons via HyperDrive 2024-06-14 15:09:54 -04:00
1c6cc9a82e Merge pull request 'Reworked message format, added support for audio messages, made Message class' (#10) from MiTask/LinkUp-P2P-Chat:main into main
Reviewed-on: snxraven/LinkUp-P2P-Chat#10
2024-06-14 18:15:43 +00:00
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: snxraven/LinkUp-P2P-Chat#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: snxraven/LinkUp-P2P-Chat#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: #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