aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cgi-bin (unfollow)
Commit message (Collapse)Author
2021-03-03no more CGIEgor Tensin
The server.py script now launches a web server and handles all the requests internally, without delegating anything to external scripts.
2021-03-03merge {reboot,poweroff}.sh into get.pyEgor Tensin
2021-03-03add server.pyEgor Tensin
It runs a web server and imports the request handling classes from get.py directly, hence eliminating the performance culprit (which was the `import` processing for each request).
2021-03-03get.py: refactoringEgor Tensin
2021-03-03Revert "get.py: don't import cgi"Egor Tensin
This reverts commit 2eaa4fc9ab517b0ef0c21272766551ab3191c5ea. On second thought, I have a plan on how to deal with the performance issue.
2021-03-01get.py: don't import cgiEgor Tensin
I only use it for FieldsStorage, and it can be trivially replaced with urllib.parse while being really bad for performance.
2021-02-28get.py: don't import cgitbEgor Tensin
It's terrible for performance.
2021-02-28get.py: add licensing notesEgor Tensin
2021-02-28get.py: run commands in parallel + refactoringEgor Tensin
I _thought_ that executing many `systemctl` calls was the performance culprit, but it's not.
2021-02-27Python server can now be run as rootEgor Tensin
If run as root, the server queries all the users.
2021-02-27merge CGI scripts into oneEgor Tensin
2018-07-10add `systemctl --failed` outputEgor Tensin
2018-07-05add reboot/shutdown buttonsEgor Tensin
2018-07-03top: 512 columns-wideEgor Tensin