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