Skip to content

release: 2.2.2 - #52

Merged
ce5rpy merged 2 commits into
masterfrom
develop
Jul 2, 2026
Merged

release: 2.2.2#52
ce5rpy merged 2 commits into
masterfrom
develop

Conversation

@ce5rpy

@ce5rpy ce5rpy commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Summary

ce5rpy and others added 2 commits July 2, 2026 17:48
Self-service page now fetches logged-in devices from the DB on every
load instead of using the stale int_ids cached in the session cookie.

- GET /api/self-service/devices queries DB (by callsign for password
  login, by client IP for auto-login)
- Migrate all self-service routes to strict REST (/devices, /devices/{id},
  /devices/{id}/modified)
- Add login_method to UserSession (signed cookie, tamper-proof)
- Remove dead code: allows_int_id, select_device, require_session_user alias
- Extract client_ip_from_request helper to deduplicate auth/self_service
fix: live device list and REST self-service endpoints
@gitguardian

gitguardian Bot commented Jul 2, 2026

Copy link
Copy Markdown

⚠️ GitGuardian has uncovered 2 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
34488956 Triggered Generic Password a87f491 monitor/tests/test_self_service_use_cases.py View secret
34488956 Triggered Generic Password 9ce0711 monitor/tests/test_self_service_use_cases.py View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Release PR — merge method

Commits listed on this PR: 2 (file diff may be smaller — that is normal when squash releases stacked up).

Required

Merge with Create a merge commit. Do not use Squash and merge.

Why

  • Squash on master creates new commit SHAs; develop keeps the original squash commits from feature PRs.
  • The next release PR then lists old fixes again even though master already has them.
  • Merge commit keeps the same SHAs on both branches; CI fast-forwards develop to master after chore(release) — no force-push, local git pull on develop still works.

One-time cleanup

If this PR lists commits from earlier releases (2.0.4, 2.0.5, …), merge once with merge commit; post-release sync realigns develop with master automatically.

@ce5rpy
ce5rpy merged commit 9ba9a26 into master Jul 2, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant