Merged
Conversation
- Add privacy protection settings with hardcoded zoom limits (public: level 7, team: level 18) - Implement password-based authentication system for detailed map access - Integrate with AUTH_PASSWORD environment variable for production deployment - Add session-based authorization management with UI controls - Update map visualization to use dynamic zoom levels based on user access - Fix code quality issues: line length, security annotations, and linting errors - Maintain backward compatibility while adding enterprise-grade privacy features Features: - Public users: Limited to zoom level 7 for privacy protection - Project team: Full zoom access (level 18) with password authentication - Seamless integration with existing Docker/Portainer AUTH_PASSWORD setup - Real-time access status display and controls - Session persistence for user convenience
- Remove duplicate 'device_name' column creation in load_device_status() - The issue was that device_name was created manually on line 137 and then renamed again from 'device' column on line 150, causing pandas ValueError - Keep manual creation and remove the conflicting rename operation - This fixes the 502 Bad Gateway errors on Portainer deployment - Dashboard now loads and sorts correctly without column conflicts Error resolved: ValueError: The column label 'device_name' is not unique
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.