Commit Graph

19 Commits

Author SHA1 Message Date
8ea09771e8
Big refactor (#20)
* First step of server redesign

Only thing left is to re-add disconnect handling

* Convert client to use img

Removing the tiling feature allowed me to switch the client to use img
instead of canvas.

* Rename "canvas" to "img"

"canvas" isn't a good variable name for an <img> element

* Handle disconnects (again)

I had removed disconnect handling when I started the partial rewrite.
This commit re-adds it.

* Remove obsolete code

* Change dependency to websocket-server in requirements.txt

* Fix Chrome click bug

This should fix the Chrome click bug.
2021-07-19 12:09:42 -07:00
98bcce60e3 Add port config 2021-07-10 14:50:31 -07:00
9dc8030d86 Stability improvements 2021-07-10 14:28:36 -07:00
1fc8aa4505 Add connect() and disconnect() to backend API 2021-07-09 18:47:29 -07:00
87008043db Add version negotiation
*Actually* closes #12.
2021-07-05 11:39:56 -07:00
a5bae2c0e2 Add better authentication
Closes #5
2021-07-05 11:21:10 -07:00
44375b4b11 Replace imgage with image
Closes #18
2021-06-22 14:02:16 -07:00
94fa2bfa35 Fix #12
This is a fix for #17. Eventually I need to rewrite it again because
this isn't very well-written.
2021-06-22 14:00:37 -07:00
549cfb10f9 Rearrange imports
Just sorting imports
2021-06-20 16:44:03 -07:00
4d5ce06eb6
Configuration file (#15)
* Add support for config file

Closes #1

* Support changing config path

The path to the config file is accepted as an argument

* Remove old code

Remove the code for the old backend selection method
2021-06-20 16:37:04 -07:00
67136506a4 Improve backend selection system
Use a string instead of changing the import line

Related to #1
2021-06-20 15:49:36 -07:00
d18cf3e674 Rearrange functions
This just made the code neater; no functional changes.
2021-06-20 15:39:21 -07:00
1624ee8996
Use Tornado (#14)
This commit converts the server to use Tornado. Unfortunately, I had to
convert part of the code to async, but I avoided it as much as possible.

Closes #7
2021-06-20 15:34:04 -07:00
8155adb853 Use Argon2
Related to (but does not close) #5
2021-06-19 13:55:13 -07:00
a6c78674b8 Replace os.system with subprocess
Closes #2
2021-06-19 13:17:02 -07:00
a67f765bd2 Move parts of backends into new imgproc.py
A lot of code was unnecesarily shared between the backends. This places
much of that code in a new file, `imgproc.py`
2021-06-17 19:50:16 -07:00
d96f6efc74 The Client object doesn't use the Queue anymore 2021-06-17 15:46:02 -07:00
d57905c731 Rearrange files again, and fix more bugs 2021-06-17 14:52:23 -07:00
b0329fd8ce Several improvements and rearranged files 2021-06-17 14:33:40 -07:00