Skip to content

fix cloud server#658

Draft
TheCommCraft wants to merge 1 commit into
semver2from
semver2_cloudserver_fix
Draft

fix cloud server#658
TheCommCraft wants to merge 1 commit into
semver2from
semver2_cloudserver_fix

Conversation

@TheCommCraft

@TheCommCraft TheCommCraft commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Solves issue #648

Changes

Added SSL version of cloud server and refactored cloud server module

Tests

@TheCommCraft

Copy link
Copy Markdown
Collaborator Author

When we merge this, we will need to update the documentation.

@faretek1 faretek1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a bunch of code duplication between TWCloudServer and TWSslCloudServer. Would it be worth reducing this? Inheritance/polymorphism could work here however that can tend to confuse where actual implementations are. Do you want me to try running this code to see if it works?

if self.server.log_var_sets:
print(self.address[0]+":"+str(self.address[1]), "tried to set a var on non-whitelisted project and was disconnected, project:", data["project_id"], "user:",data["user"])
print(
self.address[0] + ":" + str(self.address[1]),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could use fstring

@faretek1 faretek1 Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just because the old code has it, which is kind of a separate issue

@TheCommCraft

Copy link
Copy Markdown
Collaborator Author

I guess it can't hurt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants