* feat: Add settings modal with GitHub PAT and filter toggle - Add GeneralSettingsModal with General and GitHub tabs - Create GitHub PAT input field that saves to .env as GITHUB_TOKEN - Add animated toggle component for SAVE_FILTER setting - Create API endpoints for settings management - Add Input and Toggle UI components - Implement smooth animations for toggle interactions - Add proper error handling and user feedback * feat: Add filter persistence with settings integration - Add filter persistence system that saves user filter preferences to .env - Create FILTERS variable in .env to store complete filter state as JSON - Add SAVE_FILTER toggle in settings to enable/disable persistence - Implement auto-save functionality with 500ms debounce - Add loading states and visual feedback for filter restoration - Create API endpoints for managing saved filters - Add filter management UI in settings modal - Support for search query, type filters, sort order, and updatable status - Seamless integration across all script tabs (Available, Downloaded, Installed) - Auto-clear saved filters when persistence is disabled
24 lines
523 B
Plaintext
24 lines
523 B
Plaintext
# When adding additional environment variables, the schema in "/src/env.js"
|
|
# should be updated accordingly.
|
|
|
|
REPO_URL="https://github.com/community-scripts/ProxmoxVE"
|
|
REPO_BRANCH="main"
|
|
SCRIPTS_DIRECTORY="scripts"
|
|
ALLOWED_SCRIPT_EXTENSIONS=".sh"
|
|
|
|
CT_SCRIPT_FOLDER="ct"
|
|
INSTALL_SCRIPT_FOLDER="install"
|
|
JSON_FOLDER="frontend/public/json"
|
|
|
|
# Security
|
|
MAX_SCRIPT_EXECUTION_TIME="900000"
|
|
ALLOWED_SCRIPT_PATHS="scripts/"
|
|
|
|
# WebSocket Configuration
|
|
WEBSOCKET_PORT="3001"
|
|
|
|
# User settings
|
|
GITHUB_TOKEN=
|
|
SAVE_FILTER=false
|
|
FILTERS=
|