Commit message (Collapse) | Author | ||
---|---|---|---|
2022-04-11 | put things into proper directories | Egor Tensin | |
2022-04-11 | app.py: add Docker container status | Egor Tensin | |
2022-04-10 | app.py: refactoring | Egor Tensin | |
* Every Command is now a Task. * Introduce TaskList. * This allows for shorter and more generic code. | |||
2022-01-25 | app.py: don't do systemctl --user if no user instance | Egor Tensin | |
2022-01-25 | app.py: don't query user info if no users | Egor Tensin | |
2022-01-23 | app.py: include command's output in the exception | Egor Tensin | |
2022-01-23 | dump exceptions to browser's console | Egor Tensin | |
2022-01-23 | app.py: fix loginctl output parsing | Egor Tensin | |
2021-10-04 | top: run with -E/-e if supportedv1.1.0 | Egor Tensin | |
2021-03-04 | app.py: pretty print the JSON | Egor Tensin | |
2021-03-04 | add journalctl output | Egor Tensin | |
2021-03-04 | get rid of the /timers endpoit, use /status | Egor Tensin | |
2021-03-04 | update README, add some comments, etc. | Egor Tensin | |
2021-03-03 | app.py: fix a typing bug | Egor Tensin | |
2021-03-03 | no more CGI | Egor Tensin | |
The server.py script now launches a web server and handles all the requests internally, without delegating anything to external scripts. | |||
2021-03-03 | merge {reboot,poweroff}.sh into get.py | Egor Tensin | |
2021-03-03 | add server.py | Egor 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-03 | get.py: refactoring | Egor Tensin | |
2021-03-03 | Revert "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-01 | get.py: don't import cgi | Egor Tensin | |
I only use it for FieldsStorage, and it can be trivially replaced with urllib.parse while being really bad for performance. | |||
2021-02-28 | get.py: don't import cgitb | Egor Tensin | |
It's terrible for performance. | |||
2021-02-28 | get.py: add licensing notes | Egor Tensin | |
2021-02-28 | get.py: run commands in parallel + refactoring | Egor Tensin | |
I _thought_ that executing many `systemctl` calls was the performance culprit, but it's not. | |||
2021-02-27 | Python server can now be run as root | Egor Tensin | |
If run as root, the server queries all the users. | |||
2021-02-27 | merge CGI scripts into one | Egor Tensin | |