* Add MeshCentral Community Standards and Code of Conduct
This PR introduces a formal Community Standards and Code of Conduct for MeshCentral. It applies to all community-managed spaces, including GitHub, Discord, Telegram, Reddit, forums, and other communication channels.
Key points:
- Establishes clear expectations for professional, respectful, and constructive behavior.
- Encourages inclusivity, diversity, friendliness, and patience.
- Reinforces technical rigor, contribution etiquette, and effective help-seeking practices.
- Applies equally to all community members and moderators.
- Provides guidelines for moderation, enforcement, and conflict resolution.
This document aims to foster a welcoming, collaborative, and community-driven environment while maintaining high technical and professional standards.
* Enhance visibility requirements in community standards
Expanded the description of the code of conduct to emphasize the importance of visibility and consistency across community platforms.
* Update default3.handlebars
* Update default3.handlebars
* Update style-bootstrap.css
* Update translate.json
* Improve user dropdown menu visibility and control
Refactored user dropdown menu items in default3.handlebars to add unique IDs and a new 'mobile-menu-item' class for better visibility control. Added logic to conditionally show/hide menu items based on UI mode and feature flags, including forced Modern UI and night mode. Updated CSS to remove unnecessary border styling. updated webserver.js to set a feature flag when Modern UI is forced.
* Adjust desktop breakpoint and submenu animation logic
Changed desktop breakpoint from 1025px to 769px in both CSS and JS to better align with responsive design. Submenu animation now respects the user's reduced motion preference, disabling transitions when 'prefers-reduced-motion' is enabled.
* Improve masthead layout and text overflow handling
* Refine mobile menu item visibility logic
Updated the logic for showing/hiding mobile menu items based on uiMode. Now, only menu items without 'users-menu-item', 'files-menu-item', or 'server-menu-item' classes are shown when uiMode is not 2 or 3.
* Update style-bootstrap.css
* Comment out toggleModernUIMenuItem line
Comment out the toggleModernUIMenuItem visibility check.
* Update translate.json
Enhanced the addPluginDlg function to use showModal when available, improving compatibility with different UI templates. Falls back to setDialogMode for environments without showModal.
Corrects the logic in deviceViewPanel to ensure that each plugin's panel entry is initialized as an object with header and content properties, and checks for the existence of both on_device_header and on_device_page functions before invoking them.
* Improve plugin file handling and cleanup logic
Adds checks and fallbacks for temporary directory write access when creating plugin zip files, and enhances error handling when creating write streams. Updates plugin removal to use fs.rmSync with force and recursive options, and adds error handling for directory removal.
* Update pluginHandler.js