aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app.py (unfollow)
Commit message (Collapse)Author
2022-04-11put things into proper directoriesEgor Tensin
2022-04-11app.py: add Docker container statusEgor Tensin
2022-04-10app.py: refactoringEgor Tensin
* Every Command is now a Task. * Introduce TaskList. * This allows for shorter and more generic code.
2022-01-25app.py: don't do systemctl --user if no user instanceEgor Tensin
2022-01-25app.py: don't query user info if no usersEgor Tensin
2022-01-23app.py: include command's output in the exceptionEgor Tensin
2022-01-23dump exceptions to browser's consoleEgor Tensin
2022-01-23app.py: fix loginctl output parsingEgor Tensin
2021-10-04top: run with -E/-e if supportedv1.1.0Egor Tensin
2021-03-04app.py: pretty print the JSONEgor Tensin
2021-03-04add journalctl outputEgor Tensin
2021-03-04get rid of the /timers endpoit, use /statusEgor Tensin
2021-03-04update README, add some comments, etc.Egor Tensin
2021-03-03app.py: fix a typing bugEgor Tensin
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