Skip to content
Open

Dev #23

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
5ff65e7
chore: add gitignore with api/client cache artifacts
krzysztof-lagowski Dec 3, 2025
8829196
feat: add FastAPI server
krzysztof-lagowski Dec 3, 2025
1b49a22
feat: adjust ENGINEER for API usage and input errors
krzysztof-lagowski Dec 3, 2025
a01f9ad
docs: API reference and translation
krzysztof-lagowski Dec 8, 2025
408d529
feat: automatic matplotlib backend selection based on SERVER_MODE
krzysztof-lagowski Dec 8, 2025
24adf2c
Merge pull request #3 from baw-de/feat/engineer-api
krzysztof-lagowski Dec 8, 2025
7b196ef
refactor: move pictures and codeblocks to assets folder
krzysztof-lagowski Dec 8, 2025
42bce3a
Merge branch 'dev' of https://github.com/baw-de/ENGINEER into dev
krzysztof-lagowski Dec 8, 2025
b509290
add python example for api testing
fbelzner Dec 9, 2025
6fb1a40
docs: fix operational endpoint URL
krzysztof-lagowski Dec 10, 2025
27d026e
feat: add pip-audit and dependencies check
krzysztof-lagowski Dec 17, 2025
e53499c
Merge pull request #4 from baw-de/feat/github-actions-checks
krzysztof-lagowski Dec 17, 2025
7dabd5a
feat: ruff formating and linting
krzysztof-lagowski Dec 22, 2025
d8df10e
feat: ruff soft format rules
krzysztof-lagowski Dec 22, 2025
41ea7f0
refactor: apply ruff code quality suggestions
krzysztof-lagowski Dec 22, 2025
7a1b472
fix: add variable ignore
krzysztof-lagowski Dec 22, 2025
0fc21fe
chore: change ruff checks on dev branch
krzysztof-lagowski Dec 22, 2025
9c2236f
feat: add precommit hooks
krzysztof-lagowski Dec 22, 2025
3449d63
chore: add documentation precommit hooks
krzysztof-lagowski Dec 22, 2025
ab3c989
refactor: precommit hooks fixes
krzysztof-lagowski Dec 22, 2025
f923d5b
feat: add warning capturing for API routes + pytest config
krzysztof-lagowski Jan 7, 2026
855581e
feat: add tests
krzysztof-lagowski Jan 7, 2026
568598b
fix: resolve linting issues
krzysztof-lagowski Jan 7, 2026
555fd04
Merge pull request #5 from baw-de/feat/github-action-ruff
StefanNemeth Jan 12, 2026
905f25a
Merge pull request #6 from baw-de/feat/precommit-hooks
StefanNemeth Jan 12, 2026
5b2cc9d
Merge pull request #7 from baw-de/feat/tests
StefanNemeth Jan 12, 2026
d086a59
feat: add middeleware for cross-origin requests
krzysztof-lagowski Mar 3, 2026
8f5b78a
fix: update python-multipart to fix CVE-2026-24486
krzysztof-lagowski Mar 3, 2026
e0bb474
Merge pull request #8 from baw-de/feat/add-middleware
krzysztof-lagowski Mar 3, 2026
a7233e4
fix error in processing lab.D
fbelzner Mar 9, 2026
6e915bf
current upstream water level no longer needed
fbelzner Mar 9, 2026
752e1ee
refactor: fix whitespace
krzysztof-lagowski Mar 16, 2026
695fcbb
Merge pull request #9 from baw-de/dev-bugfix
krzysztof-lagowski Mar 16, 2026
60d4551
chore: adjust api schema to lab.d and upstream water changes
krzysztof-lagowski Mar 16, 2026
33a1d15
feat(api): add SVG plot endpoint with cached labyrinth sources
krzysztof-lagowski Apr 8, 2026
8bb231c
Merge pull request #10 from baw-de/feat/api-plot
krzysztof-lagowski Apr 8, 2026
e98adff
add new function to generate stl-file for download
fbelzner Apr 13, 2026
292bfce
chore: operational model plot handling API
krzysztof-lagowski Apr 13, 2026
f62593a
chore: SVG chaching
krzysztof-lagowski Apr 13, 2026
04a16ea
chore: add some error handling operational model
krzysztof-lagowski Apr 13, 2026
1f30b5f
Merge pull request #11 from baw-de/API-operational-plot
krzysztof-lagowski Apr 13, 2026
d65d130
chore: add D to labyrinth optmize output to comprehend optimized results
krzysztof-lagowski Apr 17, 2026
bc9a54c
fix: update python multipart (security)
krzysztof-lagowski Apr 17, 2026
8609a4c
Merge pull request #12 from baw-de/chore/paramter-d-output
krzysztof-lagowski Apr 17, 2026
8171092
chore: add new explanatory images
krzysztof-lagowski Apr 24, 2026
51180a8
Merge pull request #13 from baw-de/chore/pictures
krzysztof-lagowski Apr 24, 2026
f10094d
update readme with picutres and update operational webp
krzysztof-lagowski Apr 27, 2026
06a32fe
Merge pull request #14 from baw-de/chore/pictures
krzysztof-lagowski Apr 27, 2026
34f161f
docs: update readmes on STL and Plots
krzysztof-lagowski Apr 28, 2026
a91995e
feat: STL API endpoint and tests
krzysztof-lagowski Apr 28, 2026
a34ad70
refactor: speparte lines for statements
krzysztof-lagowski Apr 28, 2026
b639831
Merge pull request #15 from baw-de/dev-stl
krzysztof-lagowski Apr 28, 2026
7205a5a
chore: show hu in API
krzysztof-lagowski May 4, 2026
0288b53
chore: unify hu
krzysztof-lagowski May 4, 2026
95631f2
Merge pull request #16 from baw-de/chore/show-hu
krzysztof-lagowski May 4, 2026
99035f1
chore: update units on pictures
krzysztof-lagowski May 4, 2026
a6af742
Merge pull request #17 from baw-de/chore/update-picture
krzysztof-lagowski May 4, 2026
bd05408
chore: 0-90 angle only allowed
krzysztof-lagowski May 4, 2026
5d3b9f5
Merge pull request #18 from baw-de/chore/set-limit-angle
krzysztof-lagowski May 4, 2026
23dd3d8
chore: adjust axis for operational plot
krzysztof-lagowski May 5, 2026
5782692
chore: make flapgate optional for opertionalmodel
krzysztof-lagowski May 7, 2026
d6c9106
Merge pull request #19 from baw-de/chore/flap-optional
krzysztof-lagowski May 7, 2026
b7af2df
fix: add interpolation_stepsize to API
krzysztof-lagowski May 7, 2026
36261ed
Merge pull request #20 from baw-de/chore/interpolation-stepsize
krzysztof-lagowski May 7, 2026
ce0a4bb
docs: update api readme
krzysztof-lagowski May 7, 2026
1994046
docs: update api readme
krzysztof-lagowski May 7, 2026
5a78766
fix: invertation of the flapGateAngle
tillmann-mumm May 18, 2026
ad615b2
fix: typo-correction from previous commit
tillmann-mumm May 18, 2026
cd7d0b4
fix: enable case downstream_water_level < bottom(Sohlhöhe) for calcul…
tillmann-mumm May 19, 2026
7eb2ffd
chore: change flap picutre
krzysztof-lagowski May 29, 2026
e9a0e4e
chore: fix formating
krzysztof-lagowski May 29, 2026
692076a
chore: adjust tests
krzysztof-lagowski May 29, 2026
c0a8d2b
chore: updaet fastAPI
krzysztof-lagowski May 29, 2026
f75e1c7
feat: introduce stl labyrinth optimized and parameter t
krzysztof-lagowski Jun 11, 2026
f90e886
Merge pull request #21 from baw-de/feat/stl-optimize
krzysztof-lagowski Jun 11, 2026
5fe26e7
refactor: move to example folder)
krzysztof-lagowski Jun 17, 2026
e9ecc60
update gitignore
krzysztof-lagowski Jun 17, 2026
28ab6ea
chore: soften versioning
krzysztof-lagowski Jun 17, 2026
1ca8ebc
chore: disable plots in server mode
krzysztof-lagowski Jun 17, 2026
f530057
chore: adjust error message test
krzysztof-lagowski Jun 17, 2026
0a58da2
Update Readme folders
krzysztof-lagowski Jun 17, 2026
7705457
refactor: update guide and deprecated class
krzysztof-lagowski Jun 17, 2026
f84375a
Merge pull request #22 from baw-de/refactoring
krzysztof-lagowski Jun 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "monthly"
# group the dependencies
groups:
python-dependencies:
patterns:
- "*"
28 changes: 28 additions & 0 deletions .github/workflows/pip-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Pip-Audit Security Check

on:
push:
branches: ["dev"]
pull_request:
branches: ["dev"]

jobs:
scan:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pip-audit
pip install -r requirements.txt

- name: Run pip-audit manually
run: pip-audit -r requirements.txt
44 changes: 44 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Ruff Linting

on:
push:
branches: ["dev"]
pull_request:
branches: ["dev"]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"

- name: Install Ruff
run: |
pip install ruff

- name: Run Ruff Code quality check
run: ruff check .

format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"

- name: Install Ruff
run: |
pip install ruff

- name: Run Ruff format check
run: ruff format --check .
41 changes: 41 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# OS
.DS_Store
Thumbs.db

# IDE
.idea/
.vscode/
*.swp
*.swo
*~

# Logs
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Dependencies
node_modules/

# Build outputs
dist/
build/
*.egg-info/

# Environment variables
.env
.env.local
.env.*.local
.venv
__pycache__/

# Temporary files
tmp/
temp/
*.tmp

# cache files
.pytest_cache/
.ruff_cache/
23 changes: 23 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
repos:
# Ruff für Linting und Formatting
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.5
hooks:
# Ruff Linting
- id: ruff
args: [--fix]
# Ruff Formatting
- id: ruff-format

# essential Pre-commit Checks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: check-toml
- id: check-added-large-files
args: ["--maxkb=500"]
- id: check-merge-conflict
Loading
Loading