Brief summary of issue / Description of requested feature:
Allow the Internet Relay Chat client to connect using Transport Layer Security.
Steps to reproduce the issue / Reasons for adding feature:
So users can get secure connection to chat network.
Error output / Expected result of feature
Users would have some way to enable secure connection either by typing a plus sign or by checking a box. The script function setIrcServer should probably have an optional true/False attached too.
Extra information, such as Mudlet version, operating system and ideas for how to solve / implement:
Go to where it sets up the connection and throw in a connection->setSecure(true). I made a build just now where I added that and came up with a build that can connect to secure servers but only secure servers. So, just do that, except instead of true use some logic to see if the user indicated they want secure mode.
On mIRC a plus sign before the port number indicates secure mode instead of having a checkbox. I have no idea if this is a common or mIRC thing. Might want a checkbox instead. One method makes the window look simpler and other is more clear about how to do things.
The Communi desktop client (Mudlet uses their framework) does related stuff in https://github.com/communi/communi-desktop/blob/master/src/app/connectpage.cpp If you go there and Ctrl-F search for secureBox then you can see what they do with it. It also watches for specific port numbers like 6697 and then switches the secure box on.
And then for the function setIrcServer, might want to add an optional boolean argument or something like that.
Brief summary of issue / Description of requested feature:
Allow the Internet Relay Chat client to connect using Transport Layer Security.
Steps to reproduce the issue / Reasons for adding feature:
So users can get secure connection to chat network.
Error output / Expected result of feature
Users would have some way to enable secure connection either by typing a plus sign or by checking a box. The script function
setIrcServershould probably have an optional true/False attached too.Extra information, such as Mudlet version, operating system and ideas for how to solve / implement:
Go to where it sets up the connection and throw in a
connection->setSecure(true). I made a build just now where I added that and came up with a build that can connect to secure servers but only secure servers. So, just do that, except instead oftrueuse some logic to see if the user indicated they want secure mode.On mIRC a plus sign before the port number indicates secure mode instead of having a checkbox. I have no idea if this is a common or mIRC thing. Might want a checkbox instead. One method makes the window look simpler and other is more clear about how to do things.
The Communi desktop client (Mudlet uses their framework) does related stuff in https://github.com/communi/communi-desktop/blob/master/src/app/connectpage.cpp If you go there and Ctrl-F search for
secureBoxthen you can see what they do with it. It also watches for specific port numbers like 6697 and then switches the secure box on.And then for the function
setIrcServer, might want to add an optional boolean argument or something like that.