Compare commits
9 Commits
0.1.0
...
f8f74ccd4b
| Author | SHA1 | Date | |
|---|---|---|---|
|
f8f74ccd4b
|
|||
|
5fb6920436
|
|||
|
23a53f79a0
|
|||
|
89dd67b489
|
|||
|
c2e1984959
|
|||
|
dbc61ac6b7
|
|||
|
|
ed91c8d8cb | ||
| 451bdeb618 | |||
|
8b6bf1e913
|
12
.vscode/launch.json
vendored
12
.vscode/launch.json
vendored
@@ -3,17 +3,9 @@
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Launch Flask",
|
||||
"type": "debugpy",
|
||||
"type": "node-terminal",
|
||||
"request": "launch",
|
||||
"module": "flask",
|
||||
"env": {
|
||||
"FLASK_APP": "judas_server/web/web_server.py"
|
||||
},
|
||||
"args": [
|
||||
"run",
|
||||
"--host",
|
||||
"0.0.0.0"
|
||||
]
|
||||
"command": "flask --app src/judas_server/web/web_server.py run --host=0.0.0.0"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"python.analysis.autoImportCompletions": true,
|
||||
"python.analysis.typeCheckingMode": "standard",
|
||||
"python.analysis.typeCheckingMode": "standard"
|
||||
}
|
||||
|
||||
@@ -2,6 +2,12 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [0.1.1] - 2025-08-09
|
||||
|
||||
### Miscellaneous Tasks
|
||||
|
||||
- [`8b6bf1e`](https://github.com/pufereq/template-repo/commit/8b6bf1e91366d76ee3203b508b895e4b75d7f845) **.vscode/launch.json**: use shell instead of debugpy for running flask
|
||||
|
||||
## [0.1.0] - 2025-08-09
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
@@ -4,7 +4,7 @@ build-backend = "uv_build"
|
||||
|
||||
[project]
|
||||
name = "judas_server"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
description = "The backbone of the remote PC fleet management system."
|
||||
readme = "README.md"
|
||||
authors = []
|
||||
|
||||
0
src/judas_server/backend/__init__.py
Normal file
0
src/judas_server/backend/__init__.py
Normal file
0
src/judas_server/web/__init__.py
Normal file
0
src/judas_server/web/__init__.py
Normal file
0
src/judas_server/web/routes/__init__.py
Normal file
0
src/judas_server/web/routes/__init__.py
Normal file
@@ -85,7 +85,7 @@ def index() -> flask.Response | str:
|
||||
|
||||
|
||||
@app.route("/login", methods=["GET", "POST"])
|
||||
def login() -> str:
|
||||
def login() -> flask.Response | str:
|
||||
"""Handles user login via password form."""
|
||||
if flask.request.method == "POST":
|
||||
password = flask.request.form.get("password", "")
|
||||
@@ -154,6 +154,7 @@ def stream(pc_id: str) -> str:
|
||||
Rendered HTML template for streaming.
|
||||
"""
|
||||
return flask.render_template(
|
||||
"stream.html",
|
||||
logged=True,
|
||||
username=flask_login.current_user.id,
|
||||
pc=PC_DETAILS[pc_id],
|
||||
|
||||
Reference in New Issue
Block a user